Commit Graph

58898 Commits

Author SHA1 Message Date
Andres Martinez Gotor edeff68645
Advisor: Allow to retry checks for a single element (#104279) 2025-04-24 12:00:32 +02:00
Laura Fernández 10df5d6f23
i18n: unify locale codes to match language structure (#104415) 2025-04-24 11:08:57 +02:00
Alexander Zobnin 1584349b99
Zanzana: Use authz client (#104037)
* Zanzana: use client from authzlib

* update go.sum

* use user UID for debugging

* Remove unused function
2025-04-24 10:57:24 +02:00
Tom Ratcliffe 356c979328
Chore: Enable `no-constant-condition` eslint rule (#104298) 2025-04-24 09:50:29 +01:00
Gábor Farkas 067d7b4146
feature-toggles: change ownership (#104440) 2025-04-24 09:42:11 +01:00
grafana-pr-automation[bot] 496eafdc6f
I18n: Download translations from Crowdin (#104430)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-24 09:26:05 +01:00
Ryan McKinley bfcb0af93a
UnifiedStorage: enable unifiedStorageHistoryPruner by default (#104437) 2025-04-24 11:14:57 +03:00
Victor Marin faa33e30a9
Schema: Add origin property to AdHocFilterWithLabels (#104320)
* add origin to AdHocFilterWithLabels

* typo

* fix

* use singular for FilterOrigin

* run ./hack/update-codegen.sh

* add canary scenes to verify typechecks

* update dashboard schema json snapshot

* fix

* fix

* update canaries

* fix

* bump scenes version
2025-04-24 11:13:17 +03:00
Ryan McKinley e6414a6690
Provisioning: Fix the save version in dashboard scenes (#104433)
fix save (correct v1beta1)
2025-04-24 10:29:49 +03:00
Alex Khomenko 82c291675b
Provisioning: Fix requires migration condition (#104434)
* Provisioning: Fix requires migration condition

* Better error messaging
2025-04-24 09:29:41 +03:00
Alex Khomenko 8a5b77432c
Grafana-icons: Remove package (#104290)
* Remove grafana-icons package

* Cleanup
2025-04-24 09:06:16 +03:00
Moustafa Baiou 9f07e49cdd
Alerting: Add extended definition to prometheus alert rules api (#103320)
* Alerting: Add extended definition to prometheus alert rules api

This adds `isPaused` and `notificationSettings` to the paginated rules api to enable the paginated view of GMA rules.

refactor: make alert rule status and state retrieval extensible

This lets us get status from other sources than the local ruler.

* update swagger spec

* add safety checks in test
2025-04-23 21:14:09 +01:00
Ryan McKinley b09d79b21c
K8s/Dashboard: Promote from alpha1 to beta1 (#104009) 2025-04-23 20:54:35 +03:00
grafana-delivery-bot[bot] a6866176cd
Release: update changelog for 11.6.1 (#104416)
* Update changelog

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2025-04-23 17:34:58 +00:00
ismail simsek 7a9fdf8609
Chore: Move getOriginalMetricName to the place where it's used (#104379)
remove getOriginalMetricName from datasource as it's used only in metric_find_query
2025-04-23 18:57:02 +02:00
Tom Ratcliffe 345e81b9b7
Alerting: Render duration in `<code>` block for better presentation for translated values (#104409) 2025-04-23 17:27:54 +01:00
Josh Hunt 656d730eb2
I18n: Remove 'now' translations (#104414) 2025-04-23 17:25:16 +01:00
Tania b8eeea0fe0
Remove flag `disableSecretsCompatibility` (#103135)
Remove flag disableSecretsCompatibility
2025-04-23 16:21:13 +00:00
grafana-delivery-bot[bot] 2e52553a39
Release: update changelog for 11.5.4 (#104408)
* Update changelog

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2025-04-23 15:36:00 +00:00
ismail simsek 0d400c3413
Chore: Remove alignRange function from prometheus frontend as it was moved to backend (#104378)
remove alignRange as it was moved to backend
2025-04-23 17:16:40 +02:00
Collin Fingar ee840b7d1f
QueryLibrary: Update add to lib spec method (#103751)
QueryLibrary: Update add to lib method
2025-04-23 11:16:14 -04:00
grafana-delivery-bot[bot] 5959dd3d18
Release: update changelog for 11.4.4 (#104365)
* Update changelog

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2025-04-23 14:37:58 +00:00
Sven Grossmann c20cd9874c
Extension Sidebar: Enable conditional rendering of component (#104177)
* Extension Sidebar: Add `links` extension point to conditional render component

* Extension Sidebar: Add tests

* Extension Sidebar: Fix tests
2025-04-23 16:25:50 +02:00
Alexa V ab7e18feda
Dashboard: Schema V2 - Fix built-in annotations not present (#104313)
* Add grafana Built-in annonation to the serialization

* Add unit tests
2025-04-23 16:24:21 +02:00
Torkel Ödegaard c8fb66dd48
Dashboard: Fixes issue with row repeats and first row (#104265)
* working

* Update

* Add test

* Update
2025-04-23 16:18:56 +02:00
Kim Nylander 90ddab7461
Fix link in Use git sync doc (#104396) 2025-04-23 10:04:04 -04:00
Matias Chomicki 592c7a0b3c
Log Controls: Allow plugins to use Log Controls (#104237)
* Logs Panel: add showControls option

* Make showControls optional

* Logs Panel: expose storage option

* Controlled log rows: allow table props to be possibly undefined

* Logs panel: expose controlled options change callback

* Logs panel: pass new callback

* Logs Panel: pass the correct field callbacks

* LogListControls: disallow unique labels in apps

* LogListControls: allow to filter by unknown level

* LogListControls: fix wrong aria-pressed state

* LogListControls: hide overflow

* ControlledLogRows: make scroll auto

* Controlled Logs Panel: forward scroll ref

* chore: generalize isCoreApp

* Formatting

* LogListControls: update test

* Logs Panel: make sure tests pass with and without controls

* formatting

* Losg Panel: add comments for the new options

* Log list controls: Add comment
2025-04-23 15:01:49 +01:00
Ashley Harrison 5c44ad2763
Chore: Initial scaffolding for crowdin action (#104393)
* start to scaffold github action

* test script

* simplify

* right path (maybe)

* clean up

* CONSTANT_CASE

* add CODEOWNERS

* kick CI
2025-04-23 14:30:35 +01:00
Scott Lepper b7c0e8bd33
Scenes: add support for sourcemaps when linking (#104328)
Scenes: add support for sourcemaps when linking
2025-04-23 09:17:47 -04:00
Pepe Cano cf1b964829
docs(alerting): clarify transition to Recovering state when using recovery thresholds (#104381) 2025-04-23 15:15:12 +02:00
Roberto Jiménez Sánchez 9e9e971ab3
Provisioning: unit test and bug fixes go-git repository (#104390)
* Add unit test for unimplemented methods

* Add unit test for GoGitRepo_Read

* Add tests for Delete

* Add more tests

* Add unit test for GoGitRepo_Push

* Add unit test for ReadTree
2025-04-23 15:59:03 +03:00
Roberto Jiménez Sánchez c8981d91c7
Provisioning: remaining unit test coverage github repository (#104382)
* Add test for GitHubRepository_LatestRef

* Add test for GitHubRepository_LatestRef

* Add test for GitHubRepository_CommentPullRequest

* Add remaining tests for GitHubRepository

* Add remaining tests for GitHubRepository

* Fix linting
2025-04-23 13:29:21 +01:00
Michael Mandrus 67ac54fb0e
Chore: Rename file containing SQLStore migrations per repo conventions (#104354)
rename per conventions
2025-04-23 08:26:45 -04:00
Juan Cabanas ed27d76d7f
Grafana UI: Add `ref` to `TagsInput` (#104344) 2025-04-23 09:13:58 -03:00
Alexander Akhmetov 0743689d42
Alerting: Add recovering state to the grafana_alerting_alerts metric (#104380) 2025-04-23 13:58:57 +02:00
Alexander Zobnin 9b325438f7
Chore: Upgrade authlib (use UIDs for authz checks) (#104307) 2025-04-23 12:51:37 +01:00
Tom Ratcliffe cd8556026e
Chore: Fix re-exported `skipToken` from dashboards API (#104387) 2025-04-23 12:38:10 +01:00
Tom Ratcliffe a47a155a89
Alerting: Only show DMA button when query datasource supports it (#104158) 2025-04-23 12:14:27 +01:00
Tom Ratcliffe f9d2199b12
Alerting: Enable `no-nested-ternary` ESLint rule (#104085) 2025-04-23 11:00:40 +00:00
Torkel Ödegaard dc0501e376
Alerting: Simplify actions (#103494) 2025-04-23 12:45:28 +02:00
Ryan McKinley 3923538ba4
Provisioning: Delete from repository, not the resource client on rename (#104291)
Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
2025-04-23 12:30:30 +02:00
Ihor Yeromin 8cee546d67
DataLinks: Long link title wrapping (#104169)
chore(data-links): link text wrap
2025-04-23 12:27:09 +02:00
Ryan McKinley 7e192e319c
Devenv: Avoid explicit uid for testdata in dashboards (#104338) 2025-04-23 12:46:34 +03:00
Sven Grossmann 4b48121464
Investigations: Allow everyone with `datasources:explore` permissions to use investigations (#104280)
* Investigations: Authorize everyone to create investigations

* fix test
2025-04-23 11:30:59 +02:00
Tom Ratcliffe f9fb6f3b88
Chore: Update eslint configs to ignore `/spec/` files when necessary (#104377) 2025-04-23 10:24:26 +01:00
Sonia Aguilar 9a7cb96eb0
Alerting: Allow clearing namespace and group filter (#104376)
allow clearing namespace and group filter
2025-04-23 10:17:09 +01:00
marybelvargas 5a50c76f58
[Docs - RBAC] Update docs to reflect new fixed role granted to the Viewer basic role (#104353)
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2025-04-23 09:15:06 +00:00
Torkel Ödegaard 85a0a47efc
Dashboard: Fixes outline for repeated rows (#104283)
* Dashboard: Fixes outline for repeated rows

* Update

* make i18n-extract

---------

Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
2025-04-23 10:10:09 +01:00
Ivana Huckova f932bf7f36
Jaeger: Run traceID queries through backend when node graph is enabled (#104029)
* Refactor current solution

* Run traceid queries with enabled node graph through backend

* Update test

* Fix lint

* Uodate based on feedback, don't spread
2025-04-23 11:01:40 +02:00
sarah-spang 1d3d13c0cd
Docs: RBAC - Fix incorrect role name (#104244)
Docs: Fix incorrect role name

Doc references fixed:licensing:viewer, however, this role does not exist. It should be fixed:licensing:reader
2025-04-23 10:41:19 +02:00