mirror of
https://github.com/grafana/grafana.git
synced 2025-02-03 12:11:09 -06:00
tech(docker): update prometheus config
This commit is contained in:
parent
d0ca4ca3cd
commit
5b9366a9c3
@ -1,6 +1,6 @@
|
||||
prometheus:
|
||||
build: blocks/prometheus
|
||||
net: bridge
|
||||
net: host
|
||||
ports:
|
||||
- "9090:9090"
|
||||
volumes:
|
||||
@ -8,13 +8,13 @@ prometheus:
|
||||
|
||||
node_exporter:
|
||||
image: prom/node-exporter
|
||||
net: bridge
|
||||
net: host
|
||||
ports:
|
||||
- "9100:9100"
|
||||
|
||||
fake-prometheus-data:
|
||||
image: grafana/fake-data-gen
|
||||
net: bridge
|
||||
net: host
|
||||
ports:
|
||||
- "9091:9091"
|
||||
environment:
|
||||
|
@ -22,5 +22,6 @@ scrape_configs:
|
||||
# metrics_path defaults to '/metrics'
|
||||
# scheme defaults to 'http'.
|
||||
|
||||
target_groups:
|
||||
- targets: ['localhost:9090', '172.17.0.1:9091', '172.17.0.1:9100', '172.17.0.1:9150']
|
||||
static_configs:
|
||||
#- targets: ['localhost:9090', '172.17.0.1:9091', '172.17.0.1:9100', '172.17.0.1:9150']
|
||||
- targets: ['localhost:9090', '127.0.0.1:9091', '127.0.0.1:9100', '127.0.0.1:9150']
|
||||
|
Loading…
Reference in New Issue
Block a user