怎么变更prometheus启动日志为debug?

可能你想要的并不记录日志吧。

不过,targets 的状态可以在 prometheus Web UI 查看 (http://IP:Port/targets)

另外,数据 scrape 成功之后就写入了 tsdb, 可以直接写 PromQL 查询

1 个赞