mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-08-14 12:32:54 +02:00
「🔨」 fix: fixed some things.
This commit is contained in:
16
docker/monitoring/exporters/node/compose.yml
Normal file
16
docker/monitoring/exporters/node/compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
services:
|
||||
node-exporter:
|
||||
container_name: transcendence-node-exporter
|
||||
image: prom/node-exporter:latest
|
||||
volumes:
|
||||
- /proc:/host/proc:ro
|
||||
- /sys:/host/sys:ro
|
||||
- /:/rootfs:ro
|
||||
command:
|
||||
- '--path.procfs=/host/proc'
|
||||
- '--path.rootfs=/rootfs'
|
||||
- '--path.sysfs=/host/sys'
|
||||
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
|
||||
networks:
|
||||
- prom-exporter
|
||||
restart: unless-stopped
|
@ -19,3 +19,7 @@ scrape_configs:
|
||||
- job_name: 'nginx'
|
||||
static_configs:
|
||||
- targets: ['nginx-exporter:9113']
|
||||
|
||||
- job_name: 'node-exporter'
|
||||
static_configs:
|
||||
- targets: ['node-exporter:9100']
|
||||
|
Reference in New Issue
Block a user