Support custom alert provider

This commit is contained in:
TwinProduction committed 2020-08-27 22:23:21 -04:00
1 parent 4b57654592
commit 37c4715453
8 files changed
+151 -48

No files matched your search

+3 -3
View File
@@ -21,9 +21,9 @@ var (
)
type Config struct {
Metrics bool `yaml:"metrics"`
Alerting *core.Alerting `yaml:"alerting"`
Services []*core.Service `yaml:"services"`
Metrics bool `yaml:"metrics"`
Alerting *core.AlertingConfig `yaml:"alerting"`
Services []*core.Service `yaml:"services"`
}
func Get() *Config {