{"repo":"digitalstudium/grafana-docker-stack","free":true,"listed":false,"github":"https://github.com/digitalstudium/grafana-docker-stack","clone":"git clone https://github.com/digitalstudium/grafana-docker-stack.git","description":"Docker stack config for deploying Grafana + Prometheus + Node Exporter","language":null,"stars":79,"topics":["grafana","prometheus","node-exporter","docker-compose","prometheus-exporter","docker"],"license":"GPL-3.0","category":"deployment-docker-iac","readme_excerpt":"grafana-docker-stack For deploying Grafana, Prometheus and Node Exporter, make these steps: 1. Deploy stack 2. Add prometheus datasource with address http://prometheus:9090 to grafana 3. Add these three lines to the bottom of /var/lib/docker/volumes/monitoring prom-configs/ data/prometheus.yml file, to scrape configs: section: 4. Reload prometheus config via this command: 5. Import this dashboard: https://grafana.com/grafana/dashboards/1860 to grafana. That's it! If you want to add more servers to prometheus, make these steps: 1. Install node-exporter to each of these servers via these commands: 2. Add these servers to /var/lib/docker/volumes/monitoring prom-configs/ data/prometheus.yml file to - targets: ['node-exporter:9100'] list of - job name: 'node-exporter' section, like - targets: ['node-exporter:9100', 'server1:9100', 'server2:9100', '...'] 3. Reload prometheus config via this command: docker ps grep prometheus awk '{print $1}' xargs docker kill -s SIGHUP","default_branch":null,"files":null,"tree":[],"storefront":"/r/digitalstudium","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/digitalstudium/grafana-docker-stack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}