根据文档:https://github.com/firehol/netdata/wiki/Netdata,-Prometheus,-and-Grafana-Stack
我们可以使用Consul作为注册表,所有Netdata代理都将在此注册,稍后Prometheus将抓取Consul注册表以获取已注册的端点并清除数据。
我试着寻找文档来设置它,但我找不到它,有没有关于设置堆栈的文档。
发布于 2018-06-13 21:46:13
首先,您需要在Consul中注册netdata实例。如果你在Docker容器中运行netdata,你可以使用像https://github.com/gliderlabs/registrator这样的东西进行零注册,如果不是,使用服务定义文件或领事的目录API。
下面是一个使用Prometheus - https://www.robustperception.io/finding-consul-services-to-monitor-with-prometheus/抓取领事服务的示例
https://stackoverflow.com/questions/50756219
复制相似问题