Prometheus exporter for Docker daemon metrics. Inspired by https://github.com/stefanprodan/swarmprom
You must enable Docker metrics-addr in all Swarm nodes.
Edit /etc/docker/daemon.json to add "metrics-addr": "0.0.0.0:9323" property:
Note: if your nodes are using Docker with version
< v20.10, you must addexperimental: trueproperty too.
Don't forget to restart Docker daemon with systemctl restart docker (do it for every Swarm node).