Alerting: Move the unified alerting settings to its own struct (#39350) (#39400)

(cherry picked from commit 2ad82b9354)

Co-authored-by: gotjosh <josue@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2021-09-20 11:02:07 +01:00
committed by GitHub
co-authored by gotjosh
parent 395730e2f7
commit 10c44b4f8d
7 changed files with 47 additions and 42 deletions
+1 -8
View File
@@ -419,14 +419,7 @@ type Cfg struct {
GeomapEnableCustomBaseLayers bool
// Unified Alerting
AdminConfigPollInterval time.Duration
AlertmanagerConfigPollInterval time.Duration
HAListenAddr string
HAAdvertiseAddr string
HAPeers []string
HAPeerTimeout time.Duration
HAGossipInterval time.Duration
HAPushPullInterval time.Duration
UnifiedAlerting UnifiedAlertingSettings
}
// IsLiveConfigEnabled returns true if live should be able to save configs to SQL tables