Autodiscovery hints in docker swarm

(Panagiotis Atmatzidis) #1

Hello, I have setup a docker swarm network. I have setup a metricbeat per host, at node level. Now I need to fetch data from prometheus exporters accessible through swarm overlay networks and I'm planning to use the hints based auto-discovery option. So metricbeats will need access services accessible through the swarm network only. How should I approach this? One metricsbeat instance per node or one metricsbeat instance running on the swarm manager node?


(Panagiotis Atmatzidis) #2

I believe the following answer resolves it: How to use Metricbeat to monitor Docker Swarm containers, hosts and external services

The accepted solution is to run metricsbeat in global mode with a set of paths as mounted volumes:

(system) closed #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.