Alerting: Show evaluation interval global limit warning (#52942)

Co-authored-by: George Robinson <george.robinson@grafana.com>
This commit is contained in:
Konrad Lalik
2022-08-01 15:01:14 +02:00
committed by GitHub
co-authored by George Robinson
parent 314eb5223f
commit f877f79bbc
13 changed files with 140 additions and 20 deletions
+3
View File
@@ -179,6 +179,9 @@ func (hs *HTTPServer) getFrontendSettingsMap(c *models.ReqContext) (map[string]i
"enabled": hs.Cfg.SectionWithEnvOverrides("reporting").Key("enabled").MustBool(true),
},
"unifiedAlertingEnabled": hs.Cfg.UnifiedAlerting.Enabled,
"unifiedAlerting": map[string]interface{}{
"minInterval": hs.Cfg.UnifiedAlerting.MinInterval.String(),
},
}
if hs.ThumbService != nil {