Autodiscovery hints in docker swarm

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?

Thanks!

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: https://www.elastic.co/guide/en/beats/metricbeat/current/running-on-docker.html#_volume_mounted_configuration

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