From 1c48e379374645caefb29939efc3c6117198475d Mon Sep 17 00:00:00 2001 From: zhanghan2021 Date: Tue, 20 Jun 2023 14:51:25 +0800 Subject: [PATCH] delete alert yaml path of yaml --- prometheus/server/config.yml.templete | 1 - prometheus/server/config/config.go | 1 - 2 files changed, 2 deletions(-) diff --git a/prometheus/server/config.yml.templete b/prometheus/server/config.yml.templete index 3b20ddfd..cefac625 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 2f4cbb30..97fac6e5 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"` -- Gitee