mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech(docker): add node exporter to prometheus
This commit is contained in:
parent
3b1ae3f7d2
commit
aa9e524e73
@ -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
|
||||
|
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user