add: node-exporter
This commit is contained in:
parent
faf83978a2
commit
d01ed28d39
2 changed files with 10 additions and 8 deletions
|
@ -19,16 +19,13 @@ rule_files:
|
|||
scrape_configs:
|
||||
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
||||
- job_name: 'prometheus'
|
||||
|
||||
# metrics_path defaults to '/metrics'
|
||||
# scheme defaults to 'http'.
|
||||
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
|
||||
- job_name: 'docker'
|
||||
# metrics_path defaults to '/metrics'
|
||||
# scheme defaults to 'http'.
|
||||
|
||||
static_configs:
|
||||
- targets: ['neo.faulty.nl:9393']
|
||||
- targets: ['neo.faulty.nl:9393']
|
||||
|
||||
- job_name: node
|
||||
static_configs:
|
||||
- targets: ['prom-node:9100']
|
|
@ -104,5 +104,10 @@ services:
|
|||
networks:
|
||||
- metrics
|
||||
|
||||
prom-node:
|
||||
image: prom/node-exporter
|
||||
networks:
|
||||
- metrics
|
||||
|
||||
networks:
|
||||
metrics:
|
Reference in a new issue