tech(docker): add node exporter to prometheus

This commit is contained in:
bergquist 2016-06-21 11:46:08 +02:00
parent 3b1ae3f7d2
commit aa9e524e73
2 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,12 @@ prometheus:
volumes:
- /var/docker/prometheus:/prometheus-data
node_exporter:
image: prom/node-exporter
net: bridge
ports:
- "9100:9100"
fake-prometheus-data:
image: grafana/fake-data-gen
net: bridge

View File

@ -23,4 +23,4 @@ scrape_configs:
# scheme defaults to 'http'.
target_groups:
- targets: ['localhost:9090', '172.17.0.1:9091']
- targets: ['localhost:9090', '172.17.0.1:9091', '172.17.0.1:9100']