mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-04 11:55:26 +08:00
Merge pull request #14423 from zexi/automated-cherry-pick-of-#14421-upstream-master
Automated cherry pick of #14421: fix(host): Telegraf 1.19.2 conf
This commit is contained in:
@@ -176,8 +176,11 @@ func (s *STelegraf) GetConfig(kwargs map[string]interface{}) string {
|
||||
conf += "[[inputs.internal]]\n"
|
||||
conf += " collect_memstats = false\n"
|
||||
conf += "\n"
|
||||
conf += "[[inputs.http_listener]]\n"
|
||||
conf += "[[inputs.http_listener_v2]]\n"
|
||||
conf += " service_address = \"127.0.0.1:8087\"\n"
|
||||
conf += " path = \"/write\"\n"
|
||||
conf += " data_source = \"body\"\n"
|
||||
conf += " data_format = \"influx\"\n"
|
||||
conf += "\n"
|
||||
return conf
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user