grafana/pkg/services/dashboards
Matthew Jacobson 5dee2ed24c
Alerting: Add first Grafana reserved label grafana_folder (#50262)
* Alerting: Add first Grafana reserved label g_label

g_label holds the title of the folder container the alert. The intention of this label
is to use it as part of the new default notification policy groupBy.

* Add nil check on updateRule labels map

* Disable gocyclo lint on schedule.ruleRoutine

will remove later in a separate refactoring PR to reduce complexity.

* Address doc suggestions

* Update g_folder for rules in folder when folder title changes

* Remove global bus in FolderService

* Modify tests to fit new common g_folder label

* Add changelog entry

* Fix merge conflicts

* Switch GrafanaReservedLabelPrefix from `g_` to `grafana_`
2022-06-17 13:10:49 -04:00
..
database Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
service Alerting: Add first Grafana reserved label grafana_folder (#50262) 2022-06-17 13:10:49 -04:00
accesscontrol_test.go RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00
accesscontrol.go RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00
dashboard_provisioning_mock.go add isPublic to dashboard (#48012) 2022-05-17 14:11:55 -08:00
dashboard_service_mock.go Start of dashboard query API (#49547) 2022-06-13 15:23:56 -08:00
dashboard.go Start of dashboard query API (#49547) 2022-06-13 15:23:56 -08:00
folder_service_mock.go add isPublic to dashboard (#48012) 2022-05-17 14:11:55 -08:00
folder_store_mock.go add isPublic to dashboard (#48012) 2022-05-17 14:11:55 -08:00
folder.go Dashboards: Refactor service to make it injectable by wire (#44588) 2022-02-16 14:15:44 +01:00
models.go public dashboards: insert default public dashboard config into database on save (#49131) 2022-06-02 18:27:23 -08:00
store_mock.go RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00