Commit Graph

62909 Commits

Author SHA1 Message Date
Georges Chaudy 3bb75e2a90 kvstore: Add BatchGet (#111594)
* Add BatchGet

* restructure the batch get tests
2025-10-14 17:19:26 +02:00
Will Browne ab4bacbead Plugins: Pass image tag separately for plugin container mode (#112344)
propagate tag
2025-10-14 15:25:04 +01:00
Mihai Doarna 7395f803c1 IAM: Implement create method for team bindings (#112003)
* implement create method for team bindings

* generate openapi specs

* enable dual writer for team bindings

* add validation rules

* generate openapi

* add integration tests and fix remaining issues

* fix validation test

* use UIDs instead of IDs to build team binding name

* use IDs when generating the TeamBinding name

* fix build error

* remove time truncate
2025-10-14 17:20:59 +03:00
Ieva aeb041a9af Folder permissions: Remove default creator can Admin permissions for folders (#111984)
* Remove default creator can Admin permissions for folders

* Actually, we only need to set permissions for root level folders

* Put back creator permission

* linting

* use FT for assessing what permissions to set

* fix tests
2025-10-14 14:54:19 +01:00
Haris Rozajac f27900702c Dashboard Migrations: V5 - no-op (#112224)
* migrate to v19

* migrate to v18

* Migration to be verified: v17 Convert minSpan to maxPerRow in panels

* Migration to be verified: 16 Grid layout migration

* Refactor v17 and v19 migrations to use shared helper functions

* Migration to be verified: 15 No-op migration for schema consistency

* Migration to be verified: 14 Shared crosshair to graph tooltip migration

* cleanup

* wip

* complete migration

* fix lint issues

* refactor and test with minimal graph config

* update tests

* migrate to v12

* extract defaults outside the func

* lint

* lint

* add missing showValues prop

* migrate to v11

* migrate to v10

* add test files

* update

* migrate to v9

* migrate to v8

* add context and fix latest version

* add context

* add context

* generate snapshots

* v13 should be no-op

* clean up

* fix tests

* add context

* snapshots

* generate snapshots

* update

* snapshots

* wip

* fix test

* remove nav when cleaning up defaults

* migrate to v6

* update comments

* migrate to v5

* remove v28

* remove singlestat migraiton from frontend migrator because this is an automigration

* remove unused function

* Remove v24 table plugin logic

* cleanup

* remove plugin version for automigrate as it was used only in v24 and v28 that have been removed

* cleanup

* update snapshot

* update snapshot

* update snapshot

* update snapshot

* update snapshot

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2025-10-14 07:53:13 -06:00
Alexa Vargas e14a438116 E2E: Fix dashboard-new-layout flaky test goToEmbeddedPanel (#112380)
E2E: Fix dashboard-new-layout flaky test
2025-10-14 15:33:35 +02:00
Haris Rozajac 394922c4c8 Dashboard Migrations: V6 pulldowns to annotations; variables (#112221)
* migrate to v19

* migrate to v18

* Migration to be verified: v17 Convert minSpan to maxPerRow in panels

* Migration to be verified: 16 Grid layout migration

* Refactor v17 and v19 migrations to use shared helper functions

* Migration to be verified: 15 No-op migration for schema consistency

* Migration to be verified: 14 Shared crosshair to graph tooltip migration

* cleanup

* wip

* complete migration

* fix lint issues

* refactor and test with minimal graph config

* update tests

* migrate to v12

* extract defaults outside the func

* lint

* lint

* add missing showValues prop

* migrate to v11

* migrate to v10

* add test files

* update

* migrate to v9

* migrate to v8

* add context and fix latest version

* add context

* add context

* generate snapshots

* v13 should be no-op

* clean up

* fix tests

* add context

* snapshots

* generate snapshots

* update

* snapshots

* wip

* fix test

* remove nav when cleaning up defaults

* migrate to v6

* update comments

* remove v28

* remove singlestat migraiton from frontend migrator because this is an automigration

* remove unused function

* Remove v24 table plugin logic

* cleanup

* remove plugin version for automigrate as it was used only in v24 and v28 that have been removed

* cleanup

* update snapshot

* update snapshot

* update snapshot

* update snapshot

* remove test

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2025-10-14 07:16:34 -06:00
Konrad Lalik 8a827b5b05 Alerting: Triage rule details drawer (#112055)
* Add basic drawers for rules and instances

* Add query visualization for instances

* Display threshold on graphs when available

* Add basic history state transitions

* Query and annotations chart for alert instance

* Use SceneDataNode to merge query and annotations

* Split drawer components into more files

* move the drawer to the workbench so we can persist its state with
pagination

updates the drawer contents to align closer to what we have for the
detail view

* Don't collapse summary on empty values

* Improve data loading in InstanceDetailsDrawer

* Refactor history data conversion

* Tidy up state history data conversion

* Replace rule name link with a dedicated drawer button

* remove filter text

* Improve history time series handling

* Improve rule details header

* Update translations

* Use custom filter function for instance series filtering

* Fix instances matching algorithm

* make very long rule names span multiple rows

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2025-10-14 14:58:16 +02:00
Andre Pereira 86edf28082 Node graph: Fix context menu position after scrolling (#112374)
Use scrollY in calculation for node context menu top value
2025-10-14 13:06:21 +01:00
Tom Ratcliffe 2d3a62eb21 Dashboards: Use unified search for dashboard links and improve tests (#112201) 2025-10-14 12:02:28 +01:00
Jay Clifford c9f402c764 Plugins: Install Grafana Pathfinder behind a feature flag (#109909)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2025-10-14 11:40:40 +01:00
Matheus Macabu db5b275ed4 Go: Update to 1.25.3 (#112359) 2025-10-14 12:21:27 +02:00
Georges Chaudy 616de7b566 Fix kvstore wire (#111827) 2025-10-14 11:30:07 +02:00
Mariell Hoversholm 16502532e1 Chore: Update Redis library to v9 (#112115) 2025-10-14 10:36:53 +02:00
Ivan Ortega Alba 99ea1defd6 docs: add comprehensive dashboard migration documentation (#112091)
* docs: add comprehensive dashboard migration documentation

- Add detailed schema version migration guide with step-by-step instructions
- Reorganize main migration README to focus on conversion-level practices
- Add monitoring section with metrics, logging, and error handling
- Include comprehensive testing strategies for backend and frontend
- Provide clear separation between conversion practices and implementation details

* chore: update .gitignore

* Update .gitignore
2025-10-14 09:55:35 +02:00
Matheus Macabu 9a2a314dc9 E2E: Use standalone Image Renderer for tests instead of plugin (#112266)
* E2E: Use standalone Image Renderer for tests instead of plugin

* E2E: Allow configuring image renderer version if needed
2025-10-14 09:21:54 +02:00
grafana-pr-automation[bot] fb25d60308 I18n: Download translations from Crowdin (#112351)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-14 00:37:53 +00:00
Gabriel MABILLE 0e34164329 grafana-iam: Populate Zanzana on resource permission creation (#111654)
* `grafana-iam`: Populate Zanzana on resource permission creation

* use zanzana const

* Adding a toggle

* Add a new feature toggle to manage zanzana sync

* wire

* wire

* WIP

* Fix hook issue

* comments and tests

* Account for PR feedback

* Add a timeout to writes

* Check tuples len

* comment

* validate basic role

* shorter error

* object reads better than entry
2025-10-13 21:37:13 +02:00
Matias Chomicki 6c726cf0ea Logs context: fix position on small viewports (#112342) 2025-10-13 16:02:09 +00:00
Tania 5e0af5f57c OpenFeature: Add logs to MTFF namespace validation (#112331) 2025-10-13 16:33:03 +02:00
Tobias Skarhed 4e901b9317 Chore: Add boundaryNames to ErrorBoundaries (#112329)
Add boundaryNames to ErrorBoundaries
2025-10-13 16:30:31 +02:00
Juan Cabanas 3c90af831a Dashboard Library: Modify EmptyPage boxes width when FF is enabled and query param is present (#112253) 2025-10-13 10:58:30 -03:00
Will Browne e109763f21 Plugins: Add metric for tracking plugin asset info (#112322)
* add metric for tracking plugin asset info

* make check more specific

* check host instead
2025-10-13 14:42:32 +01:00
Jocelyn Collado-Kuri 8cb3d3b552 Prometheus: Fix parsing logic of prometheus expressions to honor the order of binary operations (#112220)
* change parsing to allow binary expression as long as it is not between two number literals

* add clamp function to monaco editor so it can be highlighted

* remove warning being thrown for binary operations

* modify parsing logic to respect the order of binary operations

* fix logic for when to increment offset for binary operations

* fix typo in comment

* Update packages/grafana-prometheus/src/querybuilder/parsing.ts

Fix typo in comment

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2025-10-13 13:38:55 +00:00
Konrad Lalik 3cbef45851 Alerting: Fix instances matching in notification policies (#112326)
Fix instances matching algorithm
2025-10-13 15:24:46 +02:00
Josh Hunt ea25b75966 Faro: Update configuration with best practices (#112108)
* Clean up faro configuration to align with best practices

* Update grafana docs

* remove fixme comment

* fix tests

* don't spread config in
2025-10-13 13:46:29 +01:00
Alexa Vargas 32f1912311 Saved Query: Add closeGuard function to support modal warning for unsaved changes (#111940)
* Saved Query: Add closeGuard function to support modal warning for unsaved changes

* fix signature
2025-10-13 13:47:12 +02:00
Peter Štibraný f823e09e17 Pass parseTime=true parameter to mysql driver (#112320)
* Pass parseTime=true parameter to mysql driver

* Fix tests.
2025-10-13 12:29:07 +02:00
Sarah Constant add2ce75c8 docs(rbac): add Private data source connect fixed roles new our docs (#111992)
Co-authored-by: Sarah Constant <sarah.lee.constant@gmail.com>
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2025-10-13 11:27:27 +01:00
Sarah Constant 8a5eba6395 docs(permissions): clarify important note for dashboard/folder admin assignment (#112011) 2025-10-13 08:42:03 +00:00
Misi bd1dbb68ba IAM: Add the implementation of the Update User API (#112054)
* wip

* Add validate, wire mutate, add tests

* Address copilot's feedback

* Address feedback
2025-10-13 10:00:18 +02:00
Matt Cowley 85174e3313 Dashboards: Add restricted extension point for empty state (#111788)
* Dashboards: Add restricted extension point for empty state

* FeatureToggles: Regenerate files with new toggle

* Dashboards: Pass default empty UI as component, not children

* Dashboards: Expose hooks for empty state methods to extensions

* Dashboards: Move empty state button hooks to dedicated file

* Dashboards: Render loader while empty state plugin components loading

* Dashboards: Pass empty state default UI as method

* Dashboards: De-duplicate hook usages in empty state

* Dashboards: De-duplicate read-only repo check in empty state
2025-10-13 09:03:13 +02:00
Paul Marbach 1e5f65faf9 VizTooltip: Better overflow handling on long series names (#112240) 2025-10-11 00:38:50 +00:00
grafana-pr-automation[bot] 6dfc334da7 I18n: Download translations from Crowdin (#112309)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-11 00:37:58 +00:00
Stephanie Hingtgen bd7872c4d9 Dashboard History: Fix service account parsing (#112300) 2025-10-10 15:25:00 -05:00
maicon a75b01907d Log TLS handshake EOF error as DEBUG instead INFO (#112294)
* Log TLS handshake EOF error as DEBUG instead INFO

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2025-10-10 17:23:45 -03:00
Haris Rozajac 58915bd384 Dashboard Migrations: V7 - nav to timepicker (#112140)
* migrate to v19

* migrate to v18

* Migration to be verified: v17 Convert minSpan to maxPerRow in panels

* Migration to be verified: 16 Grid layout migration

* Refactor v17 and v19 migrations to use shared helper functions

* Migration to be verified: 15 No-op migration for schema consistency

* Migration to be verified: 14 Shared crosshair to graph tooltip migration

* cleanup

* wip

* complete migration

* fix lint issues

* refactor and test with minimal graph config

* update tests

* migrate to v12

* extract defaults outside the func

* lint

* lint

* add missing showValues prop

* migrate to v11

* migrate to v10

* add test files

* update

* migrate to v9

* migrate to v8

* add context and fix latest version

* add context

* add context

* generate snapshots

* v13 should be no-op

* clean up

* fix tests

* add context

* snapshots

* generate snapshots

* update

* snapshots

* wip

* fix test

* remove nav when cleaning up defaults

* remove v28

* remove singlestat migraiton from frontend migrator because this is an automigration

* remove unused function

* Remove v24 table plugin logic

* cleanup

* remove plugin version for automigrate as it was used only in v24 and v28 that have been removed

* cleanup

* update snapshot

* update snapshot

* update snapshot

* lint

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2025-10-10 13:46:52 -06:00
Haris Rozajac b232a812ab Dashboard Migrations: V8 - update old influxdb schema (#111423)
* migrate to v19

* migrate to v18

* Migration to be verified: v17 Convert minSpan to maxPerRow in panels

* Migration to be verified: 16 Grid layout migration

* Refactor v17 and v19 migrations to use shared helper functions

* Migration to be verified: 15 No-op migration for schema consistency

* Migration to be verified: 14 Shared crosshair to graph tooltip migration

* cleanup

* wip

* complete migration

* fix lint issues

* refactor and test with minimal graph config

* update tests

* migrate to v12

* extract defaults outside the func

* lint

* lint

* add missing showValues prop

* migrate to v11

* migrate to v10

* add test files

* update

* migrate to v9

* migrate to v8

* add context and fix latest version

* add context

* add context

* generate snapshots

* v13 should be no-op

* clean up

* fix tests

* add context

* snapshots

* generate snapshots

* update

* snapshots

* fix test

* remove v28

* remove singlestat migraiton from frontend migrator because this is an automigration

* remove unused function

* Remove v24 table plugin logic

* cleanup

* remove plugin version for automigrate as it was used only in v24 and v28 that have been removed

* cleanup

* update snapshot

* update snapshot

* update snapshot

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2025-10-10 12:47:26 -06:00
Ryan McKinley f1e456eb01 Provisioning: Watch file system for changes (#112184)
* trigger sync on any change

* better comments

* add deletes to test

* Update apps/provisioning/pkg/repository/local/watch.go

* Update pkg/services/provisioning/dashboards/file_reader.go

* Update apps/provisioning/pkg/repository/local/watch.go

---------

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-10-10 17:26:59 +00:00
Stephanie Hingtgen 7a26d48e88 Grafana controllers: Add generic disable setting (#112250) 2025-10-10 17:21:10 +00:00
Haris Rozajac c67974251d Dashboard Migrations: V9 - singlestat panel thresholds (#111422)
* migrate to v19

* migrate to v18

* Migration to be verified: v17 Convert minSpan to maxPerRow in panels

* Migration to be verified: 16 Grid layout migration

* Refactor v17 and v19 migrations to use shared helper functions

* Migration to be verified: 15 No-op migration for schema consistency

* Migration to be verified: 14 Shared crosshair to graph tooltip migration

* cleanup

* wip

* complete migration

* fix lint issues

* refactor and test with minimal graph config

* update tests

* migrate to v12

* extract defaults outside the func

* lint

* lint

* add missing showValues prop

* migrate to v11

* migrate to v10

* add test files

* update

* migrate to v9

* add context and fix latest version

* add context

* add context

* generate snapshots

* v13 should be no-op

* clean up

* fix tests

* add context

* snapshots

* generate snapshots

* update

* fix test

* remove v28

* remove singlestat migraiton from frontend migrator because this is an automigration

* remove unused function

* Remove v24 table plugin logic

* cleanup

* remove plugin version for automigrate as it was used only in v24 and v28 that have been removed

* cleanup

* update snapshot

* update snapshot

* update snapshot

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2025-10-10 10:39:21 -06:00
Adam Yeats b3a89bbc6c Elasticsearch: Add Elasticsearch 9 to supported versions (#111966)
Add Elasticsearch 9 to supported Elasticsearch versions
2025-10-10 17:37:59 +01:00
Todd Treece 180d7adb37 Revert "Nav: Update Observability section nav to phase 2 (#109347)" (#112292) 2025-10-10 15:49:43 +00:00
Leon Sorokin 6cdb7114a9 Chore: Disable webpack cache for noMinify builds (#112241) 2025-10-10 10:01:36 -05:00
Paul Marbach 375d3319cd Annotations: Fix issue with transformation logic in scenes (#112288) 2025-10-10 11:01:19 -04:00
Carl Bergquist b2036088ac Scopes: Remove promql rewrite feature toggle (#112035)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com>
2025-10-10 16:53:18 +02:00
Leon Sorokin 248c20a6b6 TimeSeries: Fix memory leak with boolean fields (#112252)
Co-authored-by: Paul Marbach <paul.marbach@grafana.com>
2025-10-10 09:40:02 -05:00
Eric Hilse e4b981a6c0 Fix: Use currentColor for kubernetes and traces icons (#112016)
* Fix: Use currentColor for kubernetes and traces icons

* Add additional icons
2025-10-10 15:36:40 +01:00
Gilles De Mey 6628f59f30 Alerting: Add missing dependencies (#112273) 2025-10-10 16:13:38 +02:00
Josh Hunt c9fafc270e Make frontend-service settings overwrite those that come from /bootdata (#112268) 2025-10-10 14:11:37 +00:00