Commit Graph

47681 Commits

Author SHA1 Message Date
renovate[bot]
d96cd145d7 Update dependency @types/react-color to v3.0.11 2024-01-12 17:30:28 +00:00
Sven Grossmann
4e474161a1
Logs: Add show context to dashboard panel (#80403)
* Logs: Add show context to dashboard panel

* add prop to enable show context toggle

* update test

* adjust tests

* add query targets as a dependency

* extract `useDatasourcesFromTargets` hook

* add tests

* remove comment
2024-01-12 19:19:00 +02:00
renovate[bot]
e3745b5fb8 Update dependency @types/react-beautiful-dnd to v13.1.8 2024-01-12 17:07:43 +00:00
Pascal Zimmermann
1129f80746
docs: Adjust the update command documentation of the public dashboard endpoint (#77925) 2024-01-12 19:07:16 +02:00
Galen Kistler
289bfc070e
Loki: Derived fields unit test flake (#79949)
use async find when interacting with elements to avoid flakey 'not wrapped in act(...)' error
2024-01-12 19:05:58 +02:00
Fabrizio
c6db73f0bf
Tempo: Fix regression caused by #79938 (#80465) 2024-01-12 17:35:24 +01:00
renovate[bot]
9ba56d9349 Update dependency @types/prismjs to v1.26.3 2024-01-12 16:31:08 +00:00
Jamin
66c85d9826
Frontend: Migrate LoadingIndicator.tsx from aria-label e2e selectors to data-testid (#79664)
* refactor: update component to use data-testid

* refactor: update loading indicator e2e selector

* oops - forgot to update betterer results

* update loading indicator in variable picker

---------

Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
2024-01-12 18:30:11 +02:00
renovate[bot]
a886bd3c79
Update dependency @types/pluralize to ^0.0.33 (#80457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 15:56:43 +00:00
Sonia Aguilar
4ea997b595
Alerting: Fix firing alerts title when showing active in Insights panel (#80414)
* Fix firing alerts title when showing active alerts in Insights panel

* Update red to green and change the component name to Active.tsx instead of Firing.tsx
2024-01-12 16:47:27 +01:00
idafurjes
cb419e799b
Remove folderid service test (#80433)
* Remove FolderID from service tests

* Add models

* Add folderID pack to publicdashboard tests

* Remove folderID from dashboard tests

* Remove folderID from folders

* Remove folderID from ngalert tests

* Remove nolint comment

* Add back some tests after rebase
2024-01-12 16:43:39 +01:00
renovate[bot]
e553d4b796 Update dependency @types/papaparse to v5.3.14 2024-01-12 15:34:01 +00:00
renovate[bot]
2b43977a39 Update dependency @types/node-forge to v1.3.11 2024-01-12 14:46:43 +00:00
Joao Silva
9f351d1041
Timeline: Fix codeowners to point at dataviz squad (#80452) 2024-01-12 14:45:47 +00:00
renovate[bot]
941d5431f7 Update dependency @types/ol-ext to v3.2.4 2024-01-12 14:21:51 +00:00
Misi
c196bde2e0
Auth: Include missing SSO settings from system settings on read paths (#80421)
* first touches

* Merge missing SSO settings to support Advanced Auth pages

* fix
2024-01-12 15:20:50 +01:00
brendamuir
d50abe2ea2
Alerting docs: changes wrong label on configure alert state history doc (#80438) 2024-01-12 15:16:59 +01:00
Giordano Ricci
e471064cda
Explore: use numeric ids for panel ids when building query transactions (#80135) 2024-01-12 14:05:46 +00:00
renovate[bot]
cc050ca317 Update dependency @types/mousetrap to v1.6.15 2024-01-12 13:32:29 +00:00
renovate[bot]
b9c616ce1d Update dependency @types/mock-raf to v1.0.6 2024-01-12 13:31:34 +00:00
kay delaney
4a5f271142
Scenes/PanelEdit: Replace panel when commiting editor changes (#80282)
* Scenes/PanelEdit: Replace panel when commiting editor changes

* Clone panel rather than setting it as body directly
2024-01-12 15:22:53 +02:00
renovate[bot]
a491938dfe Update dependency @types/marked to v5.0.2 2024-01-12 13:07:08 +00:00
renovate[bot]
95c7034a58 Update dependency @types/lucene to v2.1.7 2024-01-12 13:06:25 +00:00
renovate[bot]
3594a068a6 Update dependency @types/lodash to v4.14.202 2024-01-12 11:42:12 +00:00
renovate[bot]
dae5430095 Update dependency @types/js-yaml to v4.0.9 2024-01-12 11:41:16 +00:00
Matias Chomicki
aa670280fc
Logs: add infinite scrolling to Explore (#76348)
* Explore: propose action, thunk, and decorators for load more

* LogsContainer: add loadMore method

* Query: remove unused var

* Loading more: use navigation to simulate scrolling

* Explore: figure out data combination

* Fix imports

* Explore: deduplicate results when using query splitting

* LogsNavigation: add scroll behavior

* Remove old code

* Scroll: adjust delta value

* Load more: remove refIds from signature

We can resolve them inside Explore state

* Load more: rename to loadMoreLogs

* Infinite scrolling: use scrollElement to listen to scrolling events

* Explore logs: add fixed height to scrollable logs container

* Logs: make logs container the scrolling element

* Logs: remove dynamic logs container size

It works very well with 1 query, but breaks with more than 1 query or when Logs is not the last rendered panel

* Logs navigation: revert changes

* Infinite scroll: create component

* Infinite scroll: refactor and clean up effect

* Infinite scroll: support oldest first scrolling direction

* Infinite scroll: support loading oldest logs in ascending and descending order

* Infinite scroll: use scroll to top from logs navigation

* Logs: make logs container smaller

* Logs: make container smaller

* State: integrate explore's loading states

* Infinite scroll: add loading to effect dependency array

* Infinite scroll: display message when scroll limit is reached

* Infinite scroll: add support to scroll in both directions

* Infinite scroll: capture wheel events for top scroll

* scrollableLogsContainer: deprecate in favor of logsInfiniteScrolling

* Infinite scroll: implement timerange limits

* Infinite scroll: pass timezone

* Fix unused variables and imports

* Infinite scroll: implement timerange limits for absolute time

* Infinite scroll: fix timerange limits for absolute and relative times

* Infinite scroll: reset out-of-bounds message

* Logs: make container taller

* Line limit: use "displayed" instead of "returned" for infinite scrolling

* Infinite scrolling: disable behavior when there is no scroll

* Remove console log

* Infinite scroll: hide limit reached message when using relative time

* Logs: migrate styles to object notation

* Prettier formatting

* LogsModel: fix import order

* Update betterer.results

* Logs: remove exploreScrollableLogsContainer test

* Infinite scroll: display loader

* Infinite scroll: improve wheel handling

* Explore: unify correlations code

* Explore: move new function to helpers

* Remove comment

* Fix imports

* Formatting

* Query: add missing awaits in unit test

* Logs model: add unit test

* Combine frames: move code to feature/logs

* Explore: move getCorrelations call back to query

It was causing a weird test failure

* Fix imports

* Infinite scroll: parametrize scrolling threshold

* Logs: fix overflow css

* Infinite scroll: add basic unit test

* Infinite scroll: add unit test for absolute time ranges

* Formatting

* Explore query: add custom interaction for scrolling

* Query: move correlations before update time

* Fix import in test

* Update comment

* Remove comment

* Remove comment

* Infinite scroll: report interactions from component

* Fix import order

* Rename action

* Infinite scroll: update limit reached message

* Explore logs: remove type assertion

* Update betterer
2024-01-12 13:22:03 +02:00
renovate[bot]
df513c870f Update dependency @types/jest to v29.5.11 2024-01-12 11:08:22 +00:00
Ida Štambuk
dfc251d5b9
Cloudwatch Variable Editor: Adjust width in new form styling (#80387) 2024-01-12 12:07:22 +01:00
SeamusGrafana
7dc6a047f7
Auth: Update Authentik DB in DevEnv to fix expired SSL Certs (#80427)
Update Authentik DB
2024-01-12 11:36:17 +01:00
Dominik Prokop
900fa04c9b
VariableEditorForm: Fix multi-value variable runtime error (#80425) 2024-01-12 12:24:53 +02:00
renovate[bot]
d2293e0848
Update dependency @types/is-hotkey to v0.1.10 (#80422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 10:21:00 +00:00
Joey
dd9b3d65d4
Tempo: Update trace to profiles link (#80364)
Update trace to profiles link
2024-01-12 10:20:01 +00:00
Ivan Ortega Alba
e9f1b41d23
EditVariable: Add base form to edit variables (#80172) 2024-01-12 12:01:11 +02:00
Giuseppe Guerra
e69feef314
Devenv: Tempo: Fix metrics_generator override in config (#80270)
* Devenv: Tempo: Fix metrics_generator override in config

* trigger
2024-01-12 10:57:44 +01:00
renovate[bot]
d3abab2896 Update dependency @types/hoist-non-react-statics to v3.3.5 2024-01-12 09:56:28 +00:00
renovate[bot]
5d4ca21afa
Update dependency @types/gtag.js to ^0.0.18 (#80418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 11:56:21 +02:00
renovate[bot]
ecf5c46e95 Update dependency @rollup/plugin-commonjs to v25.0.7 2024-01-12 09:41:23 +00:00
renovate[bot]
2576f9103c
Update dependency @types/google.analytics to ^0.0.45 (#80392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 09:41:07 +00:00
Hugo Kiyodi Oshiro
243eba228e
Plugins: Parse defaultValues correctly for nested options (#80302)
* Plugins: Parse defaultValues correctly for nested options

---------

Co-authored-by: Esteban Beltran <esteban@academo.me>
2024-01-12 10:36:10 +01:00
grafana-delivery-bot[bot]
caee68b5a8
Release: Bump version to 10.4.0-pre (#80412)
"Release: Updated versions in package to 10.4.0-pre"

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-01-12 10:21:50 +01:00
Dominik Prokop
cd66149c65
DashboardScene: Handle Dashboard data source when editing panel (#79991)
* Dashboard model compat wrapper update

* Handle changing data source type to and from Dashboard data source

* VizPanelManager tests

* Betterer

* DashboardModelCompatibilityWrapper tests

* Review: test updates

* Test updates

* Test fix

* Move the complexity of the dashboard data source edit directly to the ShareQueryDataProvider

* Make sure deactivation handler ain't called multiple times

* Make sure compat panel compat wrapper return queries for shared runner with transformations

* Betterer

* VizPanelManager: Remove data object subscription

* Remove unnecesary code
2024-01-12 01:21:32 -08:00
Ivana Huckova
74da229cd6
Loki: Remove prom utils in import/export from abstract query (#80312) 2024-01-12 10:13:30 +01:00
Mihai Doarna
1807435d9e
Auth: Implement the reload functionality from OAuth social connectors (#79795)
* implement Reload() func for azuread provider

* add unit test for failure

* use mutex when updating the info field

* implement the Reload() func for the other providers

* use mutex when reading info

* retrieve info using GetOAuthInfo() in common file

* move Reload() to SocialBase
2024-01-12 10:25:51 +02:00
Mihai Doarna
39e4f8ec1b
Auth: configure SSO settings reload interval from the ini file (#80290)
* configure sso reload interval from ini file

* change section name to sso_settings
2024-01-12 10:24:16 +02:00
Leon Sorokin
b53e0521d2
Panels: AnnotationsPlugin2 (#79531)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-01-12 09:02:40 +02:00
Haris Rozajac
d4f76c3391
Dashboard-Scene Migration: User can view JSON Mode tab (#80332)
* View JSON Model tab

* Use correct translation field

* Extract json grabbing and formatting into a model method
2024-01-11 15:18:35 -07:00
Dan Cech
771fc6c78d
Fix issue registering dashboard summary resource (#80402) 2024-01-11 16:59:12 -05:00
Matthew Jacobson
5ecc7dd2fa
Alerting: Increase size of kvstore value type for MySQL to LONGTEXT (#80331)
* Alerting: Increase size of kvstore value type for MySQL to LONGTEXT

alertmanager uses the kvstore to persist its notification log and the current
column limit for MySQL (16.7mb) puts the maximum entries at a level that is
potentially achievable for heavy alerting users (~40-80k entries).

In comparison, the current type for PSQL (TEXT) is effectively unlimited and
I believe SQLIte defaults to 2gb which is also plenty of leeway.
2024-01-11 22:51:36 +02:00
Arati R
ca9d147a44
Give dialects control over how insert and update queries are performed (#79946)
* Refactor insert, update
* Add separate insert, update methods
* Refactor Insert, Update signatures
2024-01-11 19:55:45 +01:00
Usman Ahmad
4e6b0fd9ce
updated Grafana Open Source documentation (#80357)
Added missing installation section to run Grafana on Kubernetes
2024-01-11 10:08:00 -08:00