try: docker prom node
This commit is contained in:
parent
06263b574c
commit
fa499b8c34
2 changed files with 3 additions and 1 deletions
|
@ -28,4 +28,4 @@ scrape_configs:
|
||||||
|
|
||||||
- job_name: node
|
- job_name: node
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['prom-node:9100']
|
- targets: ['docker.host:9100']
|
|
@ -96,6 +96,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- metrics
|
- metrics
|
||||||
|
- default
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
build:
|
build:
|
||||||
|
@ -104,6 +105,7 @@ services:
|
||||||
- 9090:9090
|
- 9090:9090
|
||||||
networks:
|
networks:
|
||||||
- metrics
|
- metrics
|
||||||
|
- default
|
||||||
|
|
||||||
node-exporter:
|
node-exporter:
|
||||||
image: quay.io/prometheus/node-exporter:latest
|
image: quay.io/prometheus/node-exporter:latest
|
||||||
|
|
Reference in a new issue