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
|
||||
static_configs:
|
||||
- targets: ['prom-node:9100']
|
||||
- targets: ['docker.host:9100']
|
|
@ -96,6 +96,7 @@ services:
|
|||
networks:
|
||||
- proxy
|
||||
- metrics
|
||||
- default
|
||||
|
||||
prometheus:
|
||||
build:
|
||||
|
@ -104,6 +105,7 @@ services:
|
|||
- 9090:9090
|
||||
networks:
|
||||
- metrics
|
||||
- default
|
||||
|
||||
node-exporter:
|
||||
image: quay.io/prometheus/node-exporter:latest
|
||||
|
|
Reference in a new issue