In Prometheus there’s a way of doing something like
- job_name: "cadvisor" dns_sd_configs: - names: - "tasks.cadvisor" type: "A" port: 8080 - job_name: "node-exporter" dns_sd_configs: - names: - "tasks.node-exporter" type: "A" port: 9100
Which allows me to connect to a service that is registered via DNS. Specifically I want to use it so it can pull data from
node-exporter because the current HTTP inputs plugin will choose one at round robin between the nodes rather getting for each node.