diff --git a/prometheus/server/config.yml.templete b/prometheus/server/config.yml.templete index 3b20ddfd3f0e30a8e9d1dc1582a3f20923642525..cefac6253a69057bb34438f771d745bbd637c876 100644 --- a/prometheus/server/config.yml.templete +++ b/prometheus/server/config.yml.templete @@ -2,7 +2,6 @@ prometheus: url: "http://localhost:8090/plugin/Prometheus" plugin_type: "micro-app" reverseDest: "http://localhost:9090" - alertYaml: "/etc/prometheus/rules.yaml" http: addr: "0.0.0.0:8090" log: diff --git a/prometheus/server/config/config.go b/prometheus/server/config/config.go index 2f4cbb3071ee714d0a8d1a9ea8e443228b33bde5..97fac6e57ad6db2033669902307a76d75f3dfb83 100644 --- a/prometheus/server/config/config.go +++ b/prometheus/server/config/config.go @@ -13,7 +13,6 @@ type Prometheus struct { URL string `yaml:"url"` PluginType string `yaml:"plugin_type"` ReverseDest string `yaml:"reverseDest"` - AlertYaml string `yaml:"alertYaml"` } type HttpConf struct { Addr string `yaml:"addr"`