Alerting: Move BaseInterval and MinInterval to UnifiedAlerting config (#45107)

* use base interval if legacy value is less than the base interval
This commit is contained in:
Yuriy Tseretyan
2022-02-11 16:13:49 -05:00
committed by GitHub
parent 4f815e3d8e
commit 095ea44e97
6 changed files with 145 additions and 137 deletions
-6
View File
@@ -418,12 +418,6 @@ type Cfg struct {
// Grafana.com URL
GrafanaComURL string
// Alerting
// AlertingBaseInterval controls the alerting base interval in seconds.
// Only for internal use and not user configuration.
AlertingBaseInterval time.Duration
// Geomap base layer config
GeomapDefaultBaseLayerConfig map[string]interface{}
GeomapEnableCustomBaseLayers bool