Commit Graph
62534 Commits
Author SHA1 Message Date
87b2494872 Explore Metrics: Implement grouping with metric prefixes (#89481)
* add groop as a local dependency

* update layout

* nested layout with panels

* fix the height of the rows

* copy groop library into grafana/grafana

* Don't create a new scene everytime metrics refreshed

* Add display option dropdown

* handle different layout options in buildLayout

* add select component props

* unify scene body creation

* handle other display cases in refreshMetricNames

* set a new body when display format is different

* handle nestedScene population

* show nested groups

* handle panel display

* add tabs view

* populate tabs view

* show selected tab group

* show display options before metric search

* populate prefix filter layout

* only switch layout for nested-rows display option

* Update public/app/features/trails/groop/parser.ts

Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com>

* Update public/app/features/trails/groop/parser.ts

Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com>

* Update public/app/features/trails/MetricSelect/MetricSelectScene.tsx

Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com>

* Update public/app/features/trails/MetricSelect/MetricSelectScene.tsx

Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com>

* Remove tab view

* generate groups async

* Remove unnecessary parts

* Refactor

* implement urlSync

* update keys

* introduce interaction

* ui updates

* chore: revert some auto formatting to clarify comments

* chore: revert some auto formatting to clarify comments

* rename

* add tooltip

* add styles

* update unit tests

* make i18n-extract

* update unit test

---------

Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com>
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com>
2024-07-23 18:23:28 +02:00
renovate[bot] d2b78931a1 Update dependency rudder-sdk-js to v2.48.13 2024-07-23 16:09:22 +00:00
IevaandJo c2e0952553 Folders: Improve folder move permission checks (#90588)
* check that a user doesn't have higher plugin access on the destination folder than they have on the source folder when moving folders

* Update pkg/services/folder/folderimpl/folder_test.go

---------

Co-authored-by: Jo <joao.guerreiro@grafana.com>
2024-07-23 17:07:27 +01:00
renovate[bot] 546d9991fa Update dependency react-use to v17.5.1 2024-07-23 15:42:41 +00:00
Larissa WandzuraandChristopher Moyer 8285f11f04 Docs: Updates to the Query management in Explore page (#90541)
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-07-23 09:55:57 -05:00
renovate[bot] d107f928b9 Update dependency msw to v2.3.3 2024-07-23 14:54:11 +00:00
renovate[bot] b6e8a320ce Update dependency rc-tree to v5.8.8 2024-07-23 14:32:59 +00:00
Dominik Prokop 2e5b41cbcb TemplateSrv: Backportable version of 90808 (#90833)
TemplateSrv: Backportable version of 90808 (#90816)

* TemplateSrv: Add test case for SafeSerializableSceneObject

* Update dashboard data source to use scoped vars scene object valueOf

* 11.1.x Backportable version of 90808

* lint
2024-07-23 16:02:20 +02:00
Ashley Harrison 219f4776a2 run prettier 2024-07-23 14:45:54 +01:00
renovate[bot] 486815606c Update dependency prettier to v3.3.3 2024-07-23 14:45:54 +01:00
Julien Duchesne 25f0c70022 OpenAPI: Document the /api/health endpoint (#88203)
Document `/api/health` with OpenAPI
To do so, the response build had to be re-implemented as a struct
2024-07-23 09:41:03 -04:00
Dominik Prokop 89945b1bc2 Revert "TemplateSrv: Backportable version of 90808 (#90816)" (#90831)
This reverts commit 6849a6b86b.
2024-07-23 16:28:15 +03:00
Dave Henderson a59c9525c1 notifications: Fix flaky SMTP tests (#90801)
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-07-23 08:22:00 -04:00
Vickie Chen a1182b119e Chore: Remove deprecated layout components from Plugins Platform (#88523)
* Chore: Remove deprecated layout components from Plugins Platform

Resolves #86878

* Chore: Use `Box` instead of `div`
2024-07-23 14:16:26 +02:00
Dominik Prokop 6849a6b86b TemplateSrv: Backportable version of 90808 (#90816)
* TemplateSrv: Add test case for SafeSerializableSceneObject

* Update dashboard data source to use scoped vars scene object valueOf

* 11.1.x Backportable version of 90808

* lint
2024-07-23 14:05:24 +02:00
Alex Khomenko 8966083132 Pin Nav Items: Add tracking for pinned items clicks (#90803)
* Pin Nav Items: Add tracking for pinned items clicks

* Update id

* Simplify onClick logic
2024-07-23 14:58:50 +03:00
renovate[bot] 888417c01b Update dependency postcss to v8.4.39 2024-07-23 11:54:17 +00:00
Victor Marin 01e161c5b1 DashboardScenes: TemplateSrv should return timeRange from scenes if context found (#90735)
* templateSrv should return timeRange from scenes if context found

* add test

* prettier

* test
2024-07-23 14:50:49 +03:00
renovate[bot] d75475ae03 Update dependency ol-ext to v4.0.21 2024-07-23 11:32:31 +00:00
renovate[bot] c42b6fa925 Update dependency msw to v2.3.2 2024-07-23 10:33:15 +00:00
Andreas Christou 32a3012a20 Graphite: Ensure all Graphite query references are interpolated (#90566)
Ensure Graphite query references are interpolated
2024-07-23 11:31:45 +01:00
4779d8417d Tracing: Add regex support for span filters (#89885)
* Tracing: Add regex support for span filters

* Update SpanFilters test

* Modify placeholder

---------

Co-authored-by: Ekta Sorathia <esorathia@ebay.com>
Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com>
2024-07-23 11:10:54 +01:00
Ashley Harrison 80f201026f Chore: Migrate _dashboard SCSS styles to emotion (#90604)
migrate dashboard.scss styles to emotion
2024-07-23 11:02:18 +01:00
renovate[bot] e5a0117bb8 Update dependency marked-mangle to v1.1.8 2024-07-23 09:59:48 +00:00
renovate[bot] 66c4dff17e Update dependency @react-types/overlays to v3.8.8 2024-07-23 09:31:01 +00:00
Alexa VandIvan Ortega 474ea9615d Dashboard Scene: Make Variables non-sticky on mobile (#90755)
* Make variables not sticky on mobile

* Removes scrollable body

* Remove unused CSS

* Remove unnecessary cx

---------

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2024-07-23 11:28:16 +02:00
renovate[bot] b580cee96b Update dependency @react-types/menu to v3.9.10 2024-07-23 09:05:04 +00:00
Ashley Harrison 8f9dc4a923 Navigation: move bodyScrolling to be public preview (#90811)
move bodyScrolling to be publicPreview
2024-07-23 10:02:06 +01:00
renovate[bot] 6dcf974543 Update dependency @react-types/button to v3.9.5 2024-07-23 08:30:42 +00:00
renovate[bot] 999aff5458 Update React Aria (#90760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 09:07:47 +01:00
Michael Mandrus 8e3e64460b CloudMigrations: Change onPremToCloudMigrations feature toggle to public preview (#90757)
* update feature toggle stage

* a word

* update docs
2024-07-23 03:30:51 +03:00
Nathan Marrs 3b9c6da4eb Table: Fix cell units (#90799) 2024-07-22 15:41:51 -07:00
Leon Sorokin 06a5c970c4 VizTooltip: Wrap labels to new lines when > ~50% screen width (#90798) 2024-07-22 15:52:36 -05:00
William Wernert 45f298120e Alerting: Return error when writing recorded metrics instead of default writing NaN (#90743)
* Return error instead of default writing NaN
2024-07-22 15:47:02 -04:00
Sarah Zinger f1b4964b24 Update the elastic search workflow to go to aws datasources squad (#90768) 2024-07-22 14:22:29 -04:00
Kim Nylander edb7ecef70 [DOC] Update span filters doc for Tempo data source (#90771) 2024-07-22 13:10:31 -05:00
Victor Marin 771933bd74 Move panel plugin change logic into scenes (#90535)
* wip

* move logic into vizPanel

* add tests

* bump scenes

* set pluginId synchronously for component rerenders in table view

* fix bugs around table view

* fix

* fix

* use panelPlugin meta straight from config

* fix

* fix

* fix
2024-07-22 20:26:52 +03:00
Jean-Philippe Quéméner bf09d8f615 chore(tests): skip flaky test (#90763) 2024-07-22 21:18:05 +04:00
Diego Augusto Molina 399d77a0fd Resource server improvements and fixes (#90715)
* cleanup dependencies and improve list method
* Improve Resource Server API, remove unnecessary dependencies
* Reduce the API footprint of ResourceDBInterface and its implementation
* Improve LifecycleHooks to use context
* Improve testing
* reduce API size and improve code
* sqltemplate: add DialectForDriver func and improve naming
* improve lifecycle API
* many small fixes after adding more tests
2024-07-22 20:08:30 +03:00
Nikolaos Pothitos 5f367f05dc Docs: Remove duplicate row (chore) (#90710) 2024-07-22 12:55:07 -04:00
Sarah Zinger 863f9a5e88 Update codeowners for elastic search (#90734) 2024-07-22 11:46:28 -04:00
renovate[bot] 3ce0e30358 Update dependency lerna to v8.1.7 2024-07-22 15:44:49 +00:00
renovate[bot] 61e408ab93 Update dependency immutable to v4.3.7 2024-07-22 15:22:13 +00:00
Kevin Minehart 9a3672c2bb CI: post changelog to forum in release-comms (#90742)
* post changelog to forum in post-release workflow
2024-07-22 18:00:37 +03:00
renovate[bot] 5391d77623 Update dependency eslint-scope to v8.0.2 2024-07-22 14:40:09 +00:00
Bruno 8d8f2ba587 Cloud migration: encryption key is a byte slice (#90739)
* Cloud migrations: include metadata returned by CMS in the index file

* Cloud migrations: make EncryptionKey a []byte in structs

* test
2024-07-22 11:25:12 -03:00
renovate[bot] 7fdf992dab Update dependency dompurify to v3.1.6 2024-07-22 14:19:41 +00:00
renovate[bot] fdf5ed98d8 Update dependency chrome-remote-interface to v0.33.2 (#90741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 16:50:34 +03:00
renovate[bot] 2ebd4237f6 Update dependency chance to v1.1.12 2024-07-22 13:29:52 +00:00
Ashley Harrison dc30858e9d Select: Fix scrolling virtualized menu on mobile (#90724)
pass select-menu innerRef to virtualized list
2024-07-22 14:27:50 +01:00