麻烦各位大佬帮忙看下这个问题,多谢
etc/webapi.conf etc/server.conf的BasicAuth配置,如下
[BasicAuth]
nightingale = "opoiSpH8RW5MAJ43PolsSqMVkCBasvrt"
categraf的BasicAuth配置,如下
[[writers]]
url = "http://x.x.x.x:19000/prometheus/v1/write"
basic_auth_user = "nightingale"
basic_auth_pass = "opoiSpH8RW5MAJ43PolsSqMVkCBasvrt"
timeout = 5000
dial_timeout = 2500
max_idle_conns_per_host = 100
categraf启动后的日志: