stefanprodan / swarmprom

Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager
MIT License
1.87k stars 733 forks source link

Docs for Prometheus service discovery using Consul #112

Open Sarke opened 5 years ago

Sarke commented 5 years ago

The README.md currently mentions how to do this using DNS, but could this process not be improved on by using Consul instead?

As already mentioned in the readme, DockerSwarm.rocks recommends Traefik and HTTPS. This install uses Consul as a key-value store for the SSL certificates, which means many/most of the Docker Swarm installs following that recipe will have Consul installed as well.


Relevant Prometheus docs: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#consul_sd_config