请问修改了categraf配置中的hostname 但程序启动后还是去读取了主机的hostname,为啥启动的时候没有重新加载配置
请问修改了categraf配置中的hostname 但程序启动后还是去读取了主机的hostname,为啥启动的时候没有重新加载配置
[global]
print_configs = true
hostname = "test190"
omit_hostname = true
precision = "ms"
interval = 15
providers = ["local"]
disable_usage_report = true
[log]
file_name = "/home/categraf-v0.2.37-linux-amd64/stdout"
max_size = 100
max_age = 1
max_backups = 1
local_time = true
compress = false
[writer_opt]
batch = 1000
chan_size = 1000000
[[writers]]
url = "http://192.168.30.199:17000/prometheus/v1/write"
basic_auth_user = ""
basic_auth_pass = ""
timeout = 5000
dial_timeout = 2500
max_idle_conns_per_host = 100
[http]
enable = false
address = ":9100"
print_access = false
run_mode = "release"
[ibex]
enable = false
interval = "1000ms"
servers = ["127.0.0.1:20090"]
meta_dir = "./meta"
[heartbeat]
enable = true
url = "http://192.168.30.199:17000/v1/n9e/heartbeat"
interval = 10
basic_auth_user = ""
basic_auth_pass = ""
timeout = 5000
dial_timeout = 2500
max_idle_conns_per_host = 100
卧槽兄弟你用markdown code段包括一下,这看着真头疼