0

I have a swarm cluster with a few nodes and a Prometheus cluster which get metrics from cadvisor, node exporter and other prometheus agents. But i need to get jmx metrics from other swarm services. The problem is: i can't publish port from those services since they are created programmatically. The best solution i can see is to put those services on the same network as Prometheus but then, i don't what configuration to use to discover the hosts in this network... I looked into the documentation but can't figure a way to perform this...

0 Answers0