try: docker prom node

This commit is contained in:
Didier Slof 2023-01-09 19:54:23 +01:00
parent 06263b574c
commit fa499b8c34
Signed by: didier
GPG key ID: 01E71F18AA4398E5
2 changed files with 3 additions and 1 deletions

View file

@ -28,4 +28,4 @@ scrape_configs:
- job_name: node - job_name: node
static_configs: static_configs:
- targets: ['prom-node:9100'] - targets: ['docker.host:9100']

View file

@ -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