Commit Graph

26386 Commits

Author SHA1 Message Date
Josh Hunt 46adb9a158
AnnoList: Fix annotations not loading when in a repeated row (#111540) 2025-09-24 10:31:19 +00:00
Ivan Ortega Alba a72e02f88a
Fix dashboard migration discrepancies between backend and frontend implementations (use `toEqual`) (#110268)
**Highlights**

* **Single-version migrations**: add `targetVersion` to migrator & model, separate outputs, enforce exact version.
* **Datasource fixes**: include `apiVersion` in tests, empty-string → `{}`, preserve `{}` refs, drop unwanted defaults.
* **Panel defaults & nesting**: only top-level panels get defaults; preserve empty `transformations` context-aware; filter repeated panels.

* **Migration parity**

  * V16: collapsed rows, grid height parsing (`px`).
  * V17: omit `maxPerRow` when `minSpan=1`.
  * V19–V20: cleanup defaults (`targetBlank`, style).
  * V23–V24: template vars + table panel consistency.
  * V28: full singlestat/stat parity, mappings & color.
  * V30–V36: threshold logic, empty refs, nested targets.
* **Save-model cleanup**: replicate frontend defaults/filtering, drop null IDs, metadata, unused props.
* **Testing**: unified suites, dev dashboards (v42), full unit coverage for major migrations.

Co-authored-by: Ivan Ortega [ivanortegaalba@gmail.com](mailto:ivanortegaalba@gmail.com)
Co-authored-by: Dominik Prokop [dominik.prokop@grafana.com](mailto:dominik.prokop@grafana.com)
2025-09-24 12:20:25 +02:00
Tom Ratcliffe 053920b8b7
Dashboards: Migrate DashList panel to use grafanaSearcher (#111274) 2025-09-24 10:35:40 +01:00
Edvard Falkskär 2669e0a770
LogsView + TraceView: Add time range to resource attributes extension range (#111171) 2025-09-24 08:49:18 +01:00
Alex Khomenko 3cc2fb3728
Provisioning: Add private preview badge (#111524)
* Provisioning: Add private preview badge

* Add docs link
2025-09-24 09:02:04 +03:00
grafana-pr-automation[bot] fc5b84c930
I18n: Download translations from Crowdin (#111519)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-24 00:38:27 +00:00
Juan Cabanas 8ecb389c96
SavedQueries: Fix closeDrawer type (#111403) 2025-09-23 14:33:37 -03:00
Lauren 3612687f3d
Alerting: Move enrichment tab between details and versions (#110886) 2025-09-23 16:39:45 +02:00
Lauren 5c6d33290f
Alerting: Remove unused components (#111320) 2025-09-23 16:39:00 +02:00
Stephanie Hingtgen ab9f2dc9ef
Provisioning: Prevent dashboard imports on provisioned folders (#111476) 2025-09-23 14:24:04 +00:00
Ryan McKinley 94b82b0e5e
Stars: Manage from apiserver (#111368) 2025-09-23 17:13:05 +03:00
Tobias Skarhed 8317188570
Scopes: Reset query functionality (#111470)
* Reset query functionality

* Remove unused variable

* Reset node query on expansion
2025-09-23 15:58:25 +02:00
Lauren e4edb7b7bc
Alerting: Display error message in central state history view (#111445) 2025-09-23 15:55:53 +02:00
Ryan McKinley 9887a4184d
Annotations: Add frontend api wrapper (#111452) 2025-09-23 16:08:24 +03:00
Hugo Kiyodi Oshiro c16c764c6f
Plugins: Set isProvisioned for local plugins without remote counterpart (#111268) 2025-09-23 09:58:06 -03:00
Matias Chomicki 6d3b3ea239
LogLineDetailsFields: update word break (#111469) 2025-09-23 14:51:09 +02:00
Torkel Ödegaard dafedf84ce
ToolbarSwitch: Fixes internal border radius and other issues (#111432) 2025-09-23 14:05:12 +02:00
Alexa Vargas 4ebacdbdc2
Saved Queries: Expand saved queries in annotations (#111023)
* Base logic to show saved query buttons in annotations, v1 dashboards only

* Add support for v2

* remove unnecessary function

* add TODO for checking logic later and clean up code

* Fix issue on cross-datasource replacement

* remove unnecesary async

* refactor code, call the prepareAnnotation in savedQueryUtils instead of relying on verifyDatasource

* Add unit tests

* Refactor code, add comments for context

* Add missing unit tests

* Fix issue of skipping prepareAnnotation always, added skipping only for replace saved queries scenarios, added unit
tests

* implement datasource-agnostic query normalization
2025-09-23 12:21:41 +02:00
Torkel Ödegaard 3eab510c1b
Theme: Changes light theme canvas color a more white shade (#111318)
* Theme: Changes light theme canvas color a more white shade

* Update
2025-09-23 12:11:14 +02:00
Pepe Cano d471817cc7
ui(alerting): Update "Enter custom fieldName" placeholder (#109665)
* ui(alerting): Update custom template placeholder

* Use i18n unescape format, instead of JS unescape fn

* Run `make i18n-extract`

* edit code comment
2025-09-23 10:29:02 +02:00
Piotr Jamróz 316b5fe538
Explore: Disable compact mode for ClickHouse plugin (#110869) 2025-09-19 18:12:41 +02:00
Ivan Ortega Alba c0ce4ff1f2
Dashboards: Fix missing Ctrl+O keyboard shortcut for crosshair toggle (#111310)
* Dashboard Scenes: Fix missing Ctrl+O keyboard shortcut for crosshair toggle

- Add missing mod+o keybind to dashboard scenes keyboard shortcuts
- Implement crosshair state cycling (Default -> Crosshair -> Tooltip -> Default)
- Add comprehensive unit tests for keyboard shortcuts functionality
- Add e2e test to verify shortcut works and prevents browser file dialog
- Fix ensures parity between legacy and scenes dashboard implementations

Fixes issue where Ctrl+O/Cmd+O was opening browser file dialog instead of
toggling shared crosshair modes in scenes-based dashboards.

* Remove waitForTimeout from e2e test

- Replace arbitrary timeouts with proper element waiting
- Use waitFor with visible state instead of setTimeout
- Improve test reliability and follow Playwright best practices

* Optimize e2e test for crosshair keyboard shortcut

- Remove unnecessary console logging and timeout settings
- Simplify assertions to only check the currently selected radio button
- Improve test performance by reducing DOM queries
- Focus on essential functionality verification

* Fix linting
2025-09-19 16:03:02 +00:00
Victor Marin 0db140e697
Dashboard: New measurements on variable timings (#110709)
* create new interaction profiler behaviour and also use it to measure scopes fetching times

* PR mods

* refactor

* add canary scenes

* refactor

* refactor

* canary version

* add config flag for scope measurements

* refactor

* fix
2025-09-19 14:41:14 +00:00
Andreas Christou 047b40fb54
Azure: Increase test timeout (#111370)
Increase test timeout
2025-09-19 15:08:49 +01:00
Tobias Skarhed 00c9145929
Scopes: Selector search highlighting (#111295)
* Add scopes search highlight with wildcard support

* Change so query is not being applied to parent

* Update e2e tests with more stable selectors

* Fix initial load query

* Use the Highlighter library instead

* Remove unused sanitization

* Remove undefined export
2025-09-19 15:51:24 +02:00
Alex Khomenko 460f776e6f
Provisioning: Skip folder sync when repository is empty (#111371)
* Provisioning: Skip folder sync when repository is empty

* Simplify condition

* Fix condition
2025-09-19 16:50:47 +03:00
Alex Khomenko a5517d72ee
Provisioning: Disable pull button when job is in progress (#111382) 2025-09-19 16:27:17 +03:00
Haris Rozajac 2e53c0cec6
Schema V2 Dashboard Import: Don't include built in ds in inputs (#111335) 2025-09-19 07:25:37 -06:00
Alexander Akhmetov 63692fec55
Alerting: Add AlertEnrichment to the ProvisionedResource enum (#111354) 2025-09-19 14:20:50 +02:00
Gilles De Mey 72b7ea0b6b
Alerting: Add support for vanilla `rule_name[]` query params (#111312)
add support for vanilla `rule_name[]` query params
2025-09-19 14:15:52 +02:00
Stephanie Hingtgen 15ee224da5
Provisioning: Allow disabling of image rendering instance wide (#111359) 2025-09-19 12:40:14 +03:00
Matias Chomicki 19be779274
Log Controls: Show level filter based on levels from the logs results (#111264)
* LogListControls: add logLevels prop

* LogListControls: show levels from displayed logs

* LogListSearch: fix tooltips

* Revert "LogListSearch: fix tooltips"

This reverts commit fda27101ef.

* Update tests

* Prettier
2025-09-19 11:29:26 +02:00
renovate[bot] f48efa1003
Update dependency @grafana/assistant to v0.0.18 (#111316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-19 09:21:58 +01:00
Gareth d1793719a6
Tempo: remove final frontend api calls (#111315) 2025-09-19 16:20:12 +08:00
Sonia Aguilar 0a3579e222
Alerting: Fix labels values not being updated (#111362)
fix labels values not being updated
2025-09-19 09:40:32 +02:00
Sonia Aguilar 96f70df167
Alerting: Add ruleUid prop and improve test coverage (#111118)
* add isruleEditable check in per rule ui and details page

* add tests

* update translations

* revert logic for not editable rules => we will allow adding/deleting/updating enrichments per this rule

* update translations

* update test

* pr feedback

* lint
2025-09-19 08:30:56 +02:00
Syerikjan Kh af2e349668
Plugins: log the original error (#111322)
* chore: log the original error

* ref: create error with cause
2025-09-18 14:05:31 -04:00
Stephanie Hingtgen cb11bc15fa
Provisioning: Allow disabling of instance sync (#111270)
---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-09-18 10:40:02 -05:00
Ezequiel Victorero 0ab7488305
ShortURL: Use RTK Query with the new k8s api (#111261) 2025-09-18 12:37:21 -03:00
Yunwen Zheng b48131b6bf
BulkActionError: Add Git Sync Error Display for Bulk Delete and Bulk Move (#111195)
* BulkDeleteProvisionedResource & BulkMoveProvisionedResource: display error

* use ProvisioningAlert component

* MoveProvisionedDashboardForm use ProvisioningAlert

* DeleteProvisionedDashboardForm use ProvisioningAlert
2025-09-18 11:09:00 -04:00
Adela Almasan ad37c41227
TimeComparison: Add tracking (#111267) 2025-09-18 08:45:56 -05:00
Andreas Christou 51d3624bf9
Graphite: Migrate query endpoint entirely to backend (#111138)
* Update query type

* Support metric tank queries

- Update tests
- Appropriately set URL parameter

* Support queries via the backend

- Add the filterQuery and applyTemplateVariables methods
- Separate the frontend query path into its own function
- Ensure format is always json
- Add method for building backend query objects (maintain the existing template replacement logic)
- Fix a bug in metric find queries

* Update tests

* Fix lint

* Update types
2025-09-18 11:14:24 +01:00
renovate[bot] eaa09701e3
Update dependency lru-cache to v11.2.1 (#111288)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-18 09:32:18 +00:00
Levente Balogh 2aa979b863
Dashboard Controls (#111245)
* refactor: use the `hide` property for the dashboard controls

* tests: fix failing tests

* fix: linting issues
2025-09-18 10:43:08 +02:00
grafana-pr-automation[bot] 60fbead3ac
I18n: Download translations from Crowdin (#111280)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-18 00:37:04 +00:00
Lauren a9de287607
Alerting: Move AlertLabels to alerting package (#111104)
* Alerting: move AlertLabels to alerting package

* add story & test for AlertLabel

* export label component from alerting package

* rename Label to AlertLabel

* resolve PR comments

* update imports

* export types from internal

* run yarn i18n-extract

* align with WAI-ARIA standards

* export AlertLabels props

* update failing test

* move labels components to alerting unstable

* alertlabel updates

* update test props

* update types and props

* update test prop types

* update types and props

* add role list to AlertLabel parent

* update story

* ensure color contrast accessibility

* move findCommonLabels into AlertLabels component

* unset size as small for tag

* update logic to get readable colors

* make label and value fonts accessible

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2025-09-17 23:03:00 +01:00
Haris Rozajac e34b90a024
Dashboard Export: Fix datasource variable templating in dashboard export (#109764)
* wip investigation

* improve

* cleanup

* betterer

* Improve v2 import
2025-09-17 18:55:03 +00:00
Drew Slobodnjak b7fa49765d
TimeComparison: Ensure dashboardScene is enabled (#111225) 2025-09-17 09:41:11 -07:00
Drew Slobodnjak 5556bcbc52
TimeComparison: Ensure headerActions are activated (#111224) 2025-09-17 09:30:35 -07:00
Matias Chomicki aaccd22a45
Logs Panel: Add unique labels support for dashboards (#111124)
* New logs panel: add basic show unique labels support

* LogList: switch to useMeasure to detect overflow

* LogList: remove debounce from size calculations reset

* Update test

* LogLine: keep unique labels expanded state between re-renders

* Remove hardcoded true

* LogListModel: add new property

* LogLine: switch to custom resize observer

* Revert removed changes

* Imports order

* Add missing function call in effect

* LogList: use improved debouncing for overflow

* LogLine: refactor resize listeners

* LogLine: mix observer with animation frame

* Prettier

* LogLabels: make button smaller

* LogLine: fix unwrapped unique labels

* Prettier

* LogListContext: sync mode only if not empty

* Revert "LogListContext: sync mode only if not empty"

This reverts commit 2b78249b35.

* module: remove default value
2025-09-17 15:26:42 +00:00
renovate[bot] 27544655a9
Update dependency @reduxjs/toolkit to v2.9.0 (#111242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-17 15:51:52 +01:00
Piotr Jamróz 28696972d8
Logs Panel: Fix setting default details mode (#111251)
* Logs Panel: Fix setting default details mode

* Update public/app/features/logs/components/panel/LogListContext.tsx

Co-authored-by: Matias Chomicki <matias.chomicki@grafana.com>

* Prettier

* LogListContext: sync mode only if not empty

---------

Co-authored-by: Matias Chomicki <matias.chomicki@grafana.com>
Co-authored-by: Matias Chomicki <matyax@gmail.com>
2025-09-17 14:41:41 +00:00
Piotr Jamróz 911df89725
Data Links: Store interpolated query in link models (#110912)
* Data Links: Store interpolated query in link models

* Fix types

* Fix type guard

* Fix linting

* Fix tests

* Fix tests

* Fix tests

* Fix linting

* Simplify the code

* Linting

* Linting

* Revert redundant changes

* Update test

* Infer types

* Linting

* Fix null check

* Rename prop

* Rename prop

* Rename prop

* Drop interpolatedParams from span link

* Drop interpolatedParams from span link
2025-09-17 16:36:53 +02:00
Dan83 abcf939a0f
Chore: Remove gf-form from InfluxDB FSQLEditor (#111057) 2025-09-17 15:33:10 +01:00
Alex Khomenko dacd2e27c0
Provisioning: Onboarding tweaks (#111233)
* Provisioning: Onboarding tweaks

* Provisioning: Update managed messages
2025-09-17 17:31:02 +03:00
Hugo Kiyodi Oshiro 61e62a4de0
Enterprise: Make banners show for unlicensed enterprise (#111042) 2025-09-17 10:53:51 -03:00
renovate[bot] 482598958b
Update dependency @opentelemetry/semantic-conventions to v1.37.0 (#111236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-17 14:11:29 +02:00
Tom Ratcliffe 3ea093b596
Folders: Refactor hooks to (eventually) consume app platform `/counts` endpoint (#110894) 2025-09-17 12:46:59 +01:00
renovate[bot] 750547c862
Update Yarn to v4.9.4 (#111232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-17 11:07:20 +00:00
Matias Chomicki a044f567a8
Logs Panel: Sync visual options in panel editor (#111163)
* Logs panel: sync visual options in panel editor

* LogListContext: sync uniqueLabels

* Tranlations

* Prettier

* PrettifyJSON before syntax highlighting

* Update LogListContext.tsx

* LogListContext: fix prettify json option callback

* LogListControls: fix third state for wrapping

* Update test

* chore: fix label capitalization
2025-09-17 10:13:13 +00:00
Alex Khomenko 8c284cbcba
Restore dashboards: Filter out v0 dashboards from v2 response (#111165) 2025-09-17 12:49:50 +03:00
Costa Alexoglou 0248a393d7
fix: dashboard upsert with empty ref (#111190)
* fix: dashboard upsert with empty ref

* chore: cleanup

* fix: branches in other git providers and linter
2025-09-17 11:49:15 +02:00
Torkel Ödegaard e8a05f72cb
Design: Fixes minor spacing issue in plugin browse and new connection (#111185) 2025-09-17 11:11:28 +02:00
grafana-pr-automation[bot] 1a035094e5
I18n: Download translations from Crowdin (#111214)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-17 08:42:54 +00:00
Levente Balogh 1564a49373
Floating UI: Update to use the `.main-view` as a boundary (#111089)
* fix(Dropdown): update the boundary to the `.main-view`

* apply floating-ui changes everywhere

* remove some unused imports

* up timeout on this test cause it's unbelievably slow

* don't spread when not necessary

* fix case in panel edit on small screens

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-09-17 09:40:49 +01:00
Gareth e28f67fb4c
Tempo: migrate search queries to the backend (#109800)
* migrate search queries to the backend

* set duration unit to ms

* remove error log for debugging

* support nested frames and improve url handling

* formatting in search.go

* space

* run make update-workspace

* remove un-necessary fmt.Sprintf

* add support for span table format

* update fn names and re-order

* support raw format

* revert go.mod and go.sum

* remove frontend logic

* remove any types from typescript

* fix golint

* add tests

* fix golangci-lint

* refactor and implement suggestions

* fix tests

* update data frame type

* remove console log

* fix

* use fallthough to traceql type

* use tempo backend for traceql queries

* update tests

* fix golangci-lint

* Correct types for Fields, allow nulls

* add feature toggle definition

* put backend logic behind feature toggle

* Change toggle default to false

* Remove console.log. Fix crash from missing table type

* fix tests

* fix backend tests

---------

Co-authored-by: Andre Pereira <adrapereira@gmail.com>
2025-09-17 12:02:08 +08:00
Ida Štambuk 0be2394372
Dynamic Dashboards: Add new tracking events for dashboard interactions (#111022) 2025-09-16 18:40:34 +02:00
Alex Khomenko 571b3226ba
Dashboard search: Return description in search results (#110857)
* DashList: Add description

* Support unified storage

* Support unified storage[2]

* Exclude description from field

* Cleanup

* add description

* Revert dashlist changes

* Update cue

* Fix test

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2025-09-16 18:17:22 +03:00
Alex Khomenko be61b37682
Provisioning: Use sync job for moving single resources (#111027)
* Provisioning: Use sync job for moving single resources

* cleanup

* Update messages

* Update tests

* Wait till job is completed

* Only animate forward progress

* revert

* i18n

* Fix clearing deleted folders

* Cleanup
2025-09-16 17:41:36 +03:00
Ezequiel Victorero 6811cc1aa9
Share: Remove new share drawer feature flag (#111048) 2025-09-16 10:57:49 -03:00
Yunwen Zheng 0baacd8d5a
RepositoryStatusPage: Card grid layout for small screen fix (#111136) 2025-09-16 09:43:43 -04:00
Victor Marin a15b6ec2a2
PanelOptions: Use existing overrides when changing panel types (#111016)
use existing overrides when changing panel types
2025-09-16 16:30:30 +03:00
Bogdan Matei 2ede582aa0
Dashboard: Add feature flag for undo/redo (#111096) 2025-09-16 16:03:16 +03:00
Misi 81fe57478f
Chore: Improve short url redirection (#111162)
Improve short url redirection
2025-09-16 14:48:17 +02:00
Hugo Häggmark 35df3ae554
Chore: filter out bots from frontend logging (#111157)
* Chore: filter out bots from frontend logging

* chore: updates after PR feedback

* chore: change solution to use beforeSend
2025-09-16 14:13:06 +02:00
Sonia Aguilar 1f1f2ae18f
Alerting: Update default payload for template preview (#111159)
update default payload for template preview
2025-09-16 12:51:44 +02:00
Ryan McKinley 0a79b3bdc5
Chore: Upgrade k8s.io/api v0.34.1 and grafana-app-sdk v0.43.1 (#111009) 2025-09-16 13:35:20 +03:00
grafana-pr-automation[bot] 22b96c7c3e
I18n: Download translations from Crowdin (#111143)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-16 08:40:28 +00:00
Hugo Häggmark 2c3baabfa1
PanelModel: Removes the `isAngularPlugin` function (#110799)
Chore: removes isAngularPlugin function from PanelModel
2025-09-16 07:09:41 +02:00
Ida Štambuk 544582e495
Dynamic Dashboards: Add tracking for item actions (#111059) 2025-09-15 20:54:43 +02:00
Paul Marbach bb9b890e8c
Table: Styling from field (#110991)
* Table: Styling from field

* fix mistake with gdev

* e2e for kitchen sink

* add counter-example in e2e for completeness

* unit tests for utils

* update to store style field per-column, replace util

* optimize branches column-level variables
2025-09-15 10:34:12 -05:00
renovate[bot] c3bb8412cf
Update dependency immer to v10.1.3 (#111088)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 14:49:03 +00:00
Alex Khomenko c96427c193
Restore dashboards: Disable clicks for deleted dashboards (#111083) 2025-09-15 17:48:22 +03:00
Ashley Harrison 04ca5d9ffd
Geomap: Only prefix with grafana public path if relative url (#111081)
only prefix with grafana public path if relative url
2025-09-15 15:09:35 +01:00
Ryan McKinley a5bd313f5a
ShortURL: Implement /goto with a sub-resource (#110972) 2025-09-15 16:56:20 +03:00
Adela Almasan 5b07d7031a
Actions: Add permission check to missing panels (#111021) 2025-09-15 13:47:20 +00:00
John Troy 585b53bc7d
LDAP: Restore test user mapping functionality (#110841)
* Migrate LdapPage from connect() to React-Redux hooks

* Convert LDAP debug page into a drawer and hook it into settings

* prettier

* Use the Text component and make the input and button look like they do on the main settings page.

* Bring back isLoading and put in a LoadingPlaceholder

* i18n-extract

* rejigger

* linter fix
2025-09-15 09:22:26 -04:00
Ashley Harrison 185e2234b5
Chore: Update generated scss (#111090)
update generated scss
2025-09-15 12:23:10 +00:00
Levente Balogh 4989c12695
Dashboard Controls: Make it possible to hide dashboard controls from the URL (#111001)
* feat: make it possible to hide dashboard-controls from the URL

* tests: update tests with the new url query param
2025-09-15 14:17:35 +02:00
Bogdan Matei fd8c7fbc22
Dashboard Datasource: Fix type assertion (#111082) 2025-09-15 15:02:48 +03:00
Andreas Christou 5d48747fea
Graphite: Backend version endpoint (#110774)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add util function for decoding responses

* Add events types

* Add resource handler

* Add events handler and generic resource req handler

* Tests

* Update frontend

- Add types
- Update events function to support backend requests

* Lint and typing

* Lint

* Add metrics find endpoint

- Add types
- Add generic response parser
- Add endpoint
- Tests

* Update FE functoin to use backend endpoint

* Lint

* Simplify request

* Update test

* Metrics expand type

* Extract shared logic and add metric expand endpoint

* Update tests

* Call metric expand from backend

* Rename type for clarity

* Add get resource req handler

* Refactor doGraphiteRequest, parseResponse

Update tests

* Migrate functions endpoint to backend

* Support tags autocomplete in backend

- Add tests
- Add types
- Remove unneeded comments

* Support tag values autocomplete

- Remove unused frontend endpoints
- Add types
- Update tests

* Support the version endpoint

* Add tests

* Review

* Review

* Fix packages

* Format

* Fix merge issues

* Review

* Fix undefined values

* Extract request creation

- Add method for create requests generically with tests
- Replace usage in query method
- Update usages in resource handlers
- Update tests
- Update types
2025-09-15 12:56:08 +01:00
Dominik Prokop 898b0fc1bb
DashboardProfiler: Add long frame detection with LoAF API integration (#110443)
* feat: Add Long Animation Frame API support to dashboard performance monitoring

* Update dashboard profiler integration for long frame detection

- Remove LongFrameConfig parameter from SceneRenderProfiler constructor
- Update documentation to reflect LoAF-first detection strategy with 50ms threshold
- Remove references to configurable thresholds and script attribution
- Update console output examples to match new structured logging format
- Add related documentation reference to scenes PR #1235

* Update to scenes canary version with long frame detection

- Upgrade @grafana/scenes to 6.33.1--canary.1235.17401388269.0
- Upgrade @grafana/scenes-react to 6.33.1--canary.1235.17401388269.0
- Includes long frame detection implementation from PR #1235
- Update yarn.lock with new dependencies

* feat(performance): add PanelPerformanceData interface for panel-level metrics

- Create comprehensive panel performance data structure
- Include timing metrics, performance counters, and context data
- Add pluginLoadedFromCache flag to track cache usage
- Part of panel-level performance attribution implementation

* scenes bump

* Revert "feat(performance): add PanelPerformanceData interface for panel-level metrics"

This reverts commit 8547701672.

* fix lock

* Fix lock
2025-09-15 13:40:45 +02:00
Bogdan Matei 172febd690
Dashboard: Do not issue queries for panels outside the viewport (#111067) 2025-09-15 10:41:06 +00:00
Andreas Christou df2bb6be0a
Graphite: Backend tag values autocomplete endpoint (#110773)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add util function for decoding responses

* Add events types

* Add resource handler

* Add events handler and generic resource req handler

* Tests

* Update frontend

- Add types
- Update events function to support backend requests

* Lint and typing

* Lint

* Add metrics find endpoint

- Add types
- Add generic response parser
- Add endpoint
- Tests

* Update FE functoin to use backend endpoint

* Lint

* Simplify request

* Update test

* Metrics expand type

* Extract shared logic and add metric expand endpoint

* Update tests

* Call metric expand from backend

* Rename type for clarity

* Add get resource req handler

* Refactor doGraphiteRequest, parseResponse

Update tests

* Migrate functions endpoint to backend

* Support tags autocomplete in backend

- Add tests
- Add types
- Remove unneeded comments

* Support tag values autocomplete

- Remove unused frontend endpoints
- Add types
- Update tests

* Add tests

* Review

* Review

* Fix packages

* Format

* Fix merge issues

* Review

* Fix undefined values

* Extract request creation

- Add method for create requests generically with tests
- Replace usage in query method
- Update usages in resource handlers
- Update tests
- Update types

* Lint
2025-09-15 11:35:29 +01:00
renovate[bot] f392bb6f94
Update dependency @grafana/lezer-traceql to v0.0.24 (#111078)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 10:24:48 +00:00
renovate[bot] e5fb888e6f
Update dependency @grafana/google-sdk to v0.3.5 (#110756)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 10:57:47 +01:00
Sergej-Vlasov f73cb477cb
AutoGridItem: Reset repeatedPanels when disabling repeats (#111072)
reset repeatedPanels when disabling repeats
2025-09-15 08:59:40 +00:00
grafana-pr-automation[bot] a3c95e1375
I18n: Download translations from Crowdin (#111052)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-14 00:30:21 +00:00
Ezequiel Victorero 135e9ef102
ShortURL: Use the new k8s api in the frontend (#110537) 2025-09-12 20:23:50 -03:00
Andreas Christou 211c0ca5c3
Graphite: Backend tags autocomplete endpoint (#110772)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add util function for decoding responses

* Add events types

* Add resource handler

* Add events handler and generic resource req handler

* Tests

* Update frontend

- Add types
- Update events function to support backend requests

* Lint and typing

* Lint

* Add metrics find endpoint

- Add types
- Add generic response parser
- Add endpoint
- Tests

* Update FE functoin to use backend endpoint

* Lint

* Simplify request

* Update test

* Metrics expand type

* Extract shared logic and add metric expand endpoint

* Update tests

* Call metric expand from backend

* Rename type for clarity

* Add get resource req handler

* Refactor doGraphiteRequest, parseResponse

Update tests

* Migrate functions endpoint to backend

* Support tags autocomplete in backend

- Add tests
- Add types
- Remove unneeded comments

* Add tests

* Review

* Review

* Fix packages

* Format

* Fix merge issues

* Review

* Fix undefined values

* Extract request creation

- Add method for create requests generically with tests
- Replace usage in query method
- Update usages in resource handlers
- Update tests
- Update types
2025-09-12 23:53:09 +01:00
Andreas Christou 3081ac166a
Graphite: Backend functions endpoint (#110771)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add util function for decoding responses

* Add events types

* Add resource handler

* Add events handler and generic resource req handler

* Tests

* Update frontend

- Add types
- Update events function to support backend requests

* Lint and typing

* Lint

* Add metrics find endpoint

- Add types
- Add generic response parser
- Add endpoint
- Tests

* Update FE functoin to use backend endpoint

* Lint

* Simplify request

* Update test

* Metrics expand type

* Extract shared logic and add metric expand endpoint

* Update tests

* Call metric expand from backend

* Rename type for clarity

* Add get resource req handler

* Refactor doGraphiteRequest, parseResponse

Update tests

* Migrate functions endpoint to backend

* Add tests

* Review

* Review

* Fix packages

* Format

* Fix merge issues

* Review

* Fix undefined values

* Extract request creation

- Add method for create requests generically with tests
- Replace usage in query method
- Update usages in resource handlers
- Update tests
- Update types

* Lint

* Lint
2025-09-12 23:23:44 +01:00
Moustafa Baiou cb7abbaa0f
Alerting: Rename expression elements of Rules APIs (#110914)
This renames `data` to `expressions` for clarity in the rules apis.

Also makes certain fields that are redundant optional in the case of pure expressions, so that users don't have to specify them when they are not needed (e.g. not datasource queries).
2025-09-12 22:15:55 +00:00
Andreas Christou 3e0f57a407
Graphite: Backend metrics expand endpoint (#110678)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add util function for decoding responses

* Add events types

* Add resource handler

* Add events handler and generic resource req handler

* Tests

* Update frontend

- Add types
- Update events function to support backend requests

* Lint and typing

* Lint

* Add metrics find endpoint

- Add types
- Add generic response parser
- Add endpoint
- Tests

* Update FE functoin to use backend endpoint

* Lint

* Simplify request

* Update test

* Metrics expand type

* Extract shared logic and add metric expand endpoint

* Update tests

* Call metric expand from backend

* Add tests

* Review

* Review

* Fix packages

* Format

* Fix merge issues

* Review

* Fix undefined values

* Extract request creation

- Add method for create requests generically with tests
- Replace usage in query method
- Update usages in resource handlers
- Update tests
- Update types
2025-09-12 22:35:10 +01:00
grafana-delivery-bot[bot] afc536118d
Release: Bump version to 12.3.0-pre (#110974)
* update bump-version

* Add id-token: write

* update generate-token step

* pull-requests -> pull_requests

* clone with token and set right name

* bump version 12.3.0-pre

---------

Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
Co-authored-by: grafana-delivery-bot[bot] <grafana-delivery-bot[bot]@users.noreply.github.com>
2025-09-12 17:54:11 +00:00
Haris Rozajac de01b3e209
Dashboard Schema V2: Support panel actions (#110842)
* support panel actions

* refactor

* add test; move action transformer to utils

* refactor so v2 headers and queryParams are just a simple record

* update open api

* update actions to be same shape accross all dashboard schemas and add validation on the backend

* cleanup

* update snapshot

* add tests to validation
2025-09-12 11:31:05 -06:00
Misi ccc87a03f0
Fix: Fix redirection after login when Grafana is served from subpath (#110889)
Fix short link (/goto) redirection when Grafana is served from subpath
2025-09-12 17:15:15 +02:00
Luminessa Starlight a27ace5cfb
Accessibility: enable responsive reflow of variables in dashboard edit (#110967)
enable responsive reflow of variables in dashboard edit
2025-09-12 10:44:40 -04:00
Yunwen Zheng fc2de49b88
RepositoryList: Display managed resource count (#110916)
* RepositoryList: display managed resource count

* display partial managed alert

* Update public/app/features/provisioning/Wizard/hooks/useResourceStats.ts

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* Update public/locales/en-US/grafana.json

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* only count dashboard and folder

---------

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-09-12 10:20:29 -04:00
Jo edcd113054
Authz: Remove legacy API Key permissions (#110860)
* remove API key roles

* remove API key gen

* remove frontend and doc mentions

* restore legacy keygen

* restore codeowners

* prettier

* update swagger

* remove permissions including apikeys

* add migrator for removing deprecated permissions

* add tracing

* update openapi3

* simplify migrator for now

* accesscontrol/migrator: remove batching for deprecated permissions deletion
2025-09-12 13:59:37 +02:00
Galen Kistler 076c52e1b2
feat: add new expanded state to log options menu (#110725)
* feat: add new expanded state to log options menu
2025-09-12 05:37:33 -05:00
Levente Balogh 165e2f5022
Dashboard Controls - Adjust styling for links (#110924)
* feat: adjust styling for the dashboard-controls menu

* refactor: remove unused file DashboardVariableControls.tsx

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2025-09-12 08:19:14 +02:00
grafana-pr-automation[bot] b8fe82432f
I18n: Download translations from Crowdin (#110998)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-12 00:37:25 +00:00
Akhil Singh 113d61c027
I18n: Prevent Intl.DateTimeFormat crash with invalid locales (#110522)
* fix: prevent Intl.DateTimeFormat crash with invalid locales like 'c'

- Add locale validation utilities to prevent crashes when LANG=c is set
- Filter out invalid locales from navigator.languages before creating DateTimeFormat
- Add fallback handling to use browser defaults when all locales are invalid
- Fixes issue #110494 where Grafana crashes with 'RangeError: Incorrect locale information provided'
- Maintains backward compatibility for valid locales

Signed-off-by: Akhil Singh <singhakhil69@gmail.com>

* refactor: simplify locale fix to use direct try-catch approach

- Remove locale-utils.ts and locale-utils.test.ts files
- Use simple try-catch in dates.ts files: try locale, fallback to 'en-US'
- Use Laura's suggested approach in formats.ts with explicit variable declaration
- Remove unused utility exports from index.ts
- Maintains same functionality with cleaner, simpler code
- Avoids adding to public API while still preventing crashes with invalid locales like 'c'

Signed-off-by: Akhil Singh <singhakhil69@gmail.com>

* style: run prettier to fix linting issues

- Format code according to project prettier configuration
- Fixes failing Lint Frontend check

Signed-off-by: Akhil Singh <singhakhil69@gmail.com>

---------

Signed-off-by: Akhil Singh <singhakhil69@gmail.com>
2025-09-11 15:37:17 -04:00
Andreas Christou 10e335c10d
Graphite: Backend metrics find endpoint (#110610)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add util function for decoding responses

* Add events types

* Add resource handler

* Add events handler and generic resource req handler

* Tests

* Update frontend

- Add types
- Update events function to support backend requests

* Lint and typing

* Lint

* Add metrics find endpoint

- Add types
- Add generic response parser
- Add endpoint
- Tests

* Update FE functoin to use backend endpoint

* Lint

* Simplify request

* Update test

* Add tests

* Review

* Review

* Fix packages

* Format

* Fix merge issues
2025-09-11 19:02:50 +01:00
Darren Janeczek 08203a060e
feat: NavTree menu entry for adaptive telemetry grafana cloud apps (#109561)
* feat: NavTree menu entry for adaptive telemetry grafana cloud apps

* feat: 'adaptive-telemetry' icon added
2025-09-11 13:13:17 -04:00
Andreas Christou 85e92ce04b
Graphite: Backend events endpoint (#110598)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add util function for decoding responses

* Add events types

* Add resource handler

* Add events handler and generic resource req handler

* Tests

* Update frontend

- Add types
- Update events function to support backend requests

* Lint and typing

* Lint

* Add tests

* Review

* Review

* Fix packages

* Fix merge issues
2025-09-11 17:08:19 +01:00
Torkel Ödegaard 18673e6eef
Variables: Style tweaks to new variables menu (#110946) 2025-09-11 14:51:53 +02:00
Gilles De Mey d73308690c
Alerting: Use Alerting package state components (#110830) 2025-09-11 14:47:52 +02:00
Ashley Harrison c7169b3461
Storybook: Run a11y tests against both light and dark theme (#110887)
* run storybook a11y tests in both light and dark theme

* remove unused import

* update unit tests
2025-09-11 13:10:41 +01:00
Andreas Christou 6f83a6b2fd
Graphite: Backend health-check (#110518)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add tests

* Review

* Review

* Fix packages

* Fix merge issues
2025-09-11 12:31:11 +01:00
Levente Balogh 273731ed8e
Dashboard Controls: Allow displaying dashboard links (#110666)
* feat: add `placement` to dashboard links (v1)

* feat: add `placement` property for dashboard links (v2)

* refactor: rename the `DropdownVariableControls` to `DashboardControlsMenu`

* feat: make it possible to render links under the dashboard controls dropdown

* fix: update the v2beta1 (and remove changes from v2alpha1)

* fix: linting errors

* chore: update codegen

* fix: frontend unit tests

* tests(DashboardLinkRenderer): add tests

* fix: hide divider if not necessary

* Update apps/dashboard/pkg/apis/dashboard/v1beta1/dashboard_kind.cue

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update packages/grafana-schema/src/raw/dashboard/x/dashboard_types.gen.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update kinds/dashboard/dashboard_kind.cue

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update pkg/kinds/dashboard/dashboard_spec_gen.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update apps/dashboard/pkg/apis/dashboard/v2beta1/zz_generated.openapi.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update apps/dashboard/pkg/apis/dashboard/v2beta1/dashboard_spec_gen.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update apps/dashboard/pkg/apis/dashboard/v2beta1/dashboard_spec.cue

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/grafana-schema/src/schema/dashboard/v2beta1/types.spec.gen.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update apps/dashboard/kinds/v2beta1/dashboard_spec.cue

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feat: remove "default" placement option for links (review note)

* feat: hide the <Stack> wrapper if there are no links or variables

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-11 13:16:46 +02:00
Konrad Lalik d0ab6d08e6
Alerting: Fix incorrect time range display for queries with custom 'to' values (#110930)
* Add TimeRangeLabel component to display query time ranges

* Remove query timerange windening in the rule viewer

* Update translations
2025-09-11 12:48:05 +02:00
Konrad Lalik 2fc9b29cf8
Alerting: Fix rule matching when queries contain comments (#110933)
Update hashQuery function to handle comments in query
2025-09-11 12:47:48 +02:00
Igor Suleymanov 4161f3a5ca
Support dashboard restore across API versions (#110694)
What

This commit refactors the logic to restore a dashboard from a version.
The logic is moved from the API handler to the dashboard versions service,
which now supports restoring dashboards of different API versions.

Why

To make sure that dashboard version restoration works with v2 dashboards
API, as well as future API versions.

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
2025-09-11 13:35:58 +03:00
Alex Khomenko 995aea281d
Provisioning: Prevent sync if repository is not healthy (#110767)
* Provisioning: Prevent sync if repository is not healthy

* Update alert position

* Lint & i18n

* Improve check

* Update message

* Remove info and add cancel button

* Add spinner

* Fix test
2025-09-11 12:50:26 +03:00
Yunwen Zheng e9638b882d
SaveProvisionedDashboardForm: Bug fix dashboard tag changes is not persist (#110917)
SaveProvisionedDashboardForm: Bugfix dashboard tag changes is not persist
2025-09-11 09:29:35 +02:00
Alex Khomenko e4cffccbd4
Restore dashboards: Improve bulk restore (#110874)
* Restore dashboards: Handle partial failures

* Add resourceListCache

* Improve alerts

* Simplify message

* tweaks

* Comment

* Update message

* Fix restore state indicator
2025-09-11 09:42:27 +03:00
Hugo Häggmark 22a41cdaa3
Chore: renames cache (#110877) 2025-09-11 07:49:49 +02:00
grafana-pr-automation[bot] 3153c974ad
I18n: Download translations from Crowdin (#110920)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-11 00:38:15 +00:00
Matias Chomicki de331407fe
OTel: support unknown languages (#110905) 2025-09-10 13:31:17 -07:00
Piotr Jamróz 8dd72408b2
Data Links: Allow passing data links post processor via context (#110590)
* Data Links: Allow passing data links post processor via context

* Deprecate data links post processor in PanelContext

* Mark new context as internal
2025-09-10 22:12:24 +02:00
Haris Rozajac 11898abccb
Dashboard Schema V2: Fix public dashboards and snapshots (#110060)
* wip; public dashboards and snapshots work

* Chore: Fix example of major release (#110007)

baldm0mma/ fix example of major release

* CI: Push docker images to dockerhub on merges to main (#110056)

* support extracting queries in schema V2

* fix lint and test

* fix test

* clean up

* clean up

* apply feedback about early returns

* fix url issue when clicking open original dashboard in v1

* refactor to early returns

* fix api version comparison

---------

Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
2025-09-10 13:09:37 -06:00
colin-stuart 28d1af0aa9
SCIM: Use SCIM logo in SCIM provider card (#110903) 2025-09-10 14:00:13 -05:00
Andreas Christou d3c0980c84
Graphite: Decouple from core Grafana (#110294)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Add tests

* Review

* Fix packages
2025-09-10 18:48:29 +01:00
Brendan O'Handley adac9fbe71
Tempo: Remove experimental config option to select native histograms (#110618)
* remove config option from configured data sources

* remove from ServiceGraphSettings.tsx

* remove config option from types
2025-09-10 11:18:13 -05:00
Yunwen Zheng e58765632d
ProvisioningAwarefolderPicker: Exclude current folder UID from selection (#110840)
ProvisioningAwarefolderPicker: Exclude current folder uid from selection
2025-09-10 10:43:42 -04:00
Javier Ruiz 646dd8de06
PluginExtensions: Add extension point for overriding Observability home page (#110500)
* feat/add_observability_landing

* Add check for observability path

* Fix existing tests

* Test that we're rendering the component when in the correct path

* Reset all mocks after testing

* Check for extension only on observability route

* Undo changes to tests

* Extract strings to constants

* Remove unused validator

* Remove unnecesary ObservabilityLanding component

* Update subtitle for Observability section

* Use proper '

* Expose extension point, allow plugins to hook into it, and render received components

* Fix and test

* Remove no longer needed unit tests

* Readd validation checks, allow for regex like paths

* refactor(extensions): extract dynamic extension point ids to a separate enum

* Undo unwanted const to let change

* Update extension point id to better transmit intent and use

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2025-09-10 15:43:36 +02:00
Moustafa Baiou ca8324e62a Alerting: Add support for alpha rules apis in legacy storage
Rules created in the new api makes the rule have no group in the database, but the rule is returned in the old group api with a sentinel group name formatted with the rule uid for compatiblity with the old api.
This makes the UI continue to work with the rules without a group, and the ruler will continue to work with the rules without a group.

Rules are not allowed to be created in the provisioning api with a NoGroup sentinel mask, but NoGroup rules can be manipulated through both the new and old apis.

Co-authored-by: William Wernert <william.wernert@grafana.com>
2025-09-10 09:30:56 -04:00
Sonia Aguilar d003e54489
Alerting: Enrichment per rule wip-2 (#110437)
* Add feature toggle and extension point

* Update ff name for enrichment per rule

* update translations

* wip

* remove wrong duplication after merging from main

* manage enrichments per rule drawer: add ruleUid to extension component

* remove folder

* move drawer to the list page

* update translations

* remove unused import
2025-09-10 13:52:10 +02:00
Tom Ratcliffe 67d8939f0e
i18n: Fix pluralisation of counts text for descendants count (#110865) 2025-09-10 11:54:45 +01:00
grafana-pr-automation[bot] 93441bba42
I18n: Download translations from Crowdin (#110850)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-10 10:38:47 +00:00
Levente Balogh 60d26ac0ce
Dashboard Controls: Only render the "stack" if the drop-down is menu is visible (#110856)
fix: only show the dashboard controls menu if it has contents
2025-09-10 09:57:07 +02:00
Andres Martinez Gotor 4dbd3a00b7
Favorite Datasources: Complete reported interactions (#110817) 2025-09-10 09:29:39 +02:00
Oscar Kilhed 1dc0c560ff
Dashboards: Move panels following a repeating panel if the repeating causes the grid item to grow. (#110796)
* Move following panels after a repeating panel grows

* update to scenes canary release

* only run the adjustYpositions if needed
2025-09-10 08:38:18 +02:00
Drew Slobodnjak 651e52fd10
TimeSeries: Improve time compare default styling (#110575)
* TimeSeries: Use exported time comparison function

* Add alignTimeRangeCompareData to grafana/data

* Simplify tooltip time text formatting

* Bump scenes version

* Add tests for alignTimeRangeCompareData

* TimeSeries: Improve time compare default styling

* Update Time Comparison panel option menu

* Add backwards compatibility for older scenes

* Update shouldAlignTimeCompare for typical query

* Fix styling when multiple RefId matches

* Update default dash to be smaller

* Fix tooltip for older versions of scenes
2025-09-09 15:09:44 -07:00
Juan Cabanas ebd1f63aab
Snapshots: Fix breadcrumb when not logged in (#110820) 2025-09-09 15:02:26 -03:00
Matias Chomicki 09c78e0e9c
Log details: column sizing and JSON values (#110807)
* LogLineDetails: switch from minmax to fit-content

* LogLineDetailsFields: switch from syntaxHighlighting to prettifyJSON

* Coverage
2025-09-09 18:47:27 +02:00
Andre Pereira d26c6c112a
Tempo: Migrates tags and tag values to datasource backend CallResource requests (#110511)
* Move tags and tag values request to datasource backend

* Remove outdated test

* Fix tests

* lint

* Refactor to use handlers for CallResource request

* lint

* Fix nit
2025-09-09 17:31:32 +01:00
Yunwen Zheng fc0db985c6
BootstrapStep: Enhancement resource manage card options (#110723)
* BootstrapStep: card reorganize
* ConnectRepositoryButton: Move to Provisioning page actions spot
2025-09-09 12:23:06 -04:00
Yunwen Zheng 496e504b70
NestedFolderPicker: Only display provisioning icon on root folder (#110784)
NestedFolderPicker: only display provisioning icon on root folder
2025-09-09 09:34:19 -04:00