Alerting: Update default route groupBy to [grafana_folder, alertname] (#50052)

* Alerting: Update default route groupBy to [grafana_folder, alertname]

Default group by for new routes and migrations is now [grafana_folder, alertname]
This commit is contained in:
Matthew Jacobson
2022-07-11 12:24:43 -04:00
committed by GitHub
parent 32c2b62dc7
commit 434e94ef2b
11 changed files with 86 additions and 44 deletions

View File

@@ -1832,7 +1832,8 @@ func TestAlertmanagerStatus(t *testing.T) {
},
"config": {
"route": {
"receiver": "grafana-default-email"
"receiver": "grafana-default-email",
"group_by": ["grafana_folder", "alertname"]
},
"templates": null,
"receivers": [{