I am trying to figureout how to allow prometheus to add targets based on hostname and not IP. Currently i am using Netdata as exporter but do not find any information on how to allow hostname of each host to be available in prometheus.
Exporting Hostname with Netdata for prometheus
499 Views Asked by Vaishnav At
2
A possible solution to your problem could be to use remote-write so that each Netdata writes to the Prometheus node and not the other way around.
Moreover, you could use something like Consul for service discovery.