根据该文件:https://github.com/firehol/netdata/wiki/Netdata,-Prometheus,-and-Grafana-Stack
我们可以使用Consul作为注册表,所有Netdata代理都将注册,之后……
首先,您需要在Consul中注册netdata实例。如果你在Docker容器中运行netdata,你可以使用类似的东西 https://github.com/gliderlabs/registrator 零努力注册,如果没有,使用服务定义文件或Consul的目录API。
以下是使用Prometheus抓取Consul服务的示例 - https://www.robustperception.io/finding-consul-services-to-monitor-with-prometheus/