mirror of
https://github.com/grafana/grafana.git
synced 2026-07-29 15:59:50 -05:00
tech(docker): add node exporter to prometheus
This commit is contained in:
@@ -6,6 +6,12 @@ prometheus:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/docker/prometheus:/prometheus-data
|
- /var/docker/prometheus:/prometheus-data
|
||||||
|
|
||||||
|
node_exporter:
|
||||||
|
image: prom/node-exporter
|
||||||
|
net: bridge
|
||||||
|
ports:
|
||||||
|
- "9100:9100"
|
||||||
|
|
||||||
fake-prometheus-data:
|
fake-prometheus-data:
|
||||||
image: grafana/fake-data-gen
|
image: grafana/fake-data-gen
|
||||||
net: bridge
|
net: bridge
|
||||||
|
|||||||
@@ -23,4 +23,4 @@ scrape_configs:
|
|||||||
# scheme defaults to 'http'.
|
# scheme defaults to 'http'.
|
||||||
|
|
||||||
target_groups:
|
target_groups:
|
||||||
- targets: ['localhost:9090', '172.17.0.1:9091']
|
- targets: ['localhost:9090', '172.17.0.1:9091', '172.17.0.1:9100']
|
||||||
|
|||||||
Reference in New Issue
Block a user