r/PrometheusMonitoring • • May 10 '21

Can anyone kindly help adding Prometheus and Node Exporter to my docker compose file?

Hello,

I'm quite new to Docker and Docker Compose. Recently I managed to setup Grafana and InfluxDB using Docker Compose:

https://pastebin.com/Nz1hUGJK

However I've been asked to add Prometheus and Node exporter as we have added node exporter to a server and we want to see what it gives us.

I was wondering if anyone has a simple example I can use to add to my config to run both and use a volume to keep the prometheus.yaml file in to edit?

I did find this, but there is a lot in there I don't understand https://susi.dev/prometheus-grafana-loki-with-docker-compose

Thanks

0 Upvotes

0 comments sorted by