add: node-exporter

This commit is contained in:
Didier Slof 2023-01-09 11:52:07 +01:00
parent faf83978a2
commit d01ed28d39
Signed by: didier
GPG key ID: 01E71F18AA4398E5
2 changed files with 10 additions and 8 deletions

View file

@ -19,16 +19,13 @@ rule_files:
scrape_configs: scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config. # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus' - job_name: 'prometheus'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs: static_configs:
- targets: ['localhost:9090'] - targets: ['localhost:9090']
- job_name: 'docker' - job_name: 'docker'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs: static_configs:
- targets: ['neo.faulty.nl:9393'] - targets: ['neo.faulty.nl:9393']
- job_name: node
static_configs:
- targets: ['prom-node:9100']

View file

@ -104,5 +104,10 @@ services:
networks: networks:
- metrics - metrics
prom-node:
image: prom/node-exporter
networks:
- metrics
networks: networks:
metrics: metrics: