Commit Graph

58910 Commits

Author SHA1 Message Date
Andres Martinez Gotor f0c841b9bc
Advisor: Allow to disable backend (#104445) 2025-04-24 15:27:13 +02:00
Ryan McKinley 2e51096eb4
Provisioning: Export dashboards with conversion errors (#104369) 2025-04-24 14:16:25 +01:00
Ieva e385237daf
Access control: Make sure that user permission cache is cleared after new dashboard and folder creation (#104193)
* make sure that user permission cache is cleared after new dashboard and folder creation

* more test fixes

* Update pkg/services/dashboards/service/dashboard_service.go

* check identity type in SetDefaultPermissionsAfterCreate, set default permissions for service accounts

* set SA permissions for folders as well

* fix tests
2025-04-24 16:02:39 +03:00
Torkel Ödegaard 4fc112f927
RowsLayout: Fixes min height issue (#104444) 2025-04-24 14:43:44 +02:00
Ryan McKinley 7fd4c1b41d
StateTimeline: Auto-migrate from natel-discrete-panel (#104191) 2025-04-24 15:42:32 +03:00
Eric Leijonmarck 15bddb3712
IAM: Add `datasources:query` support for using the authlib/authzservice (#104107)
* feat(add): datasources:query support for using the authlib/authzservice

* added test for datasources

* refactor to create the translation right away

* Update pkg/services/authz/rbac/mapper.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* fix tests

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2025-04-24 13:39:31 +01:00
Andreas Christou 35145801a2
Data Sources: Add gauge for response size (#104394) 2025-04-24 13:26:28 +01:00
Josh Hunt a8aa6b74a8
FEMT: Basic frontend-service implementation (#104229)
* create the most basic frontend-server module

* expose prom metrics??

* add todo list

* move frontend-service to its own folder in services

* check error from writer.Write

* reword comment, add launch config
2025-04-24 13:14:21 +01:00
Oscar Kilhed 8e6b8fad01
SchemaV2: Fix saving of transparent setting of vizPanel (#104443)
* save transparent setting

* make sure we test both transparent and non transparent
2025-04-24 14:13:18 +02:00
Gilles De Mey 1ffd64ff79
Alerting: Package 📦 (#102899) 2025-04-24 13:47:24 +02:00
Tom Ratcliffe b487096460
Alerting: Fix empty state for mute timings (#104453) 2025-04-24 13:42:52 +02:00
Fayzal Ghantiwala d94a59cd08
Alerting: Fix flaky test (#104450)
Fix flaky test
2025-04-24 12:28:28 +01:00
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