sfdad
Some checks are pending
Deploy on push / detect (push) Waiting to run
Deploy on push / deploy_swarm (push) Blocked by required conditions
Deploy on push / deploy_compose (push) Blocked by required conditions

This commit is contained in:
traveler 2026-04-07 20:36:13 -05:00
parent 0af60dbeee
commit 04863ab6f3

View file

@ -194,13 +194,15 @@ services:
# ============================================================ # ============================================================
# NODE EXPORTER — Host metrics (all nodes) # NODE EXPORTER — Host metrics (all nodes)
# ============================================================ # ============================================================
node-exporter: node-exporter:
image: prom/node-exporter:latest image: prom/node-exporter:latest
hostname: "{{.Node.Hostname}}"
environment: environment:
TZ: America/Chicago TZ: America/Chicago
command: command:
- --path.rootfs=/host - --path.rootfs=/host
- --collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/) - --collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)
- --collector.textfile.directory=/host/etc/node-exporter
volumes: volumes:
- /:/host:ro,rslave - /:/host:ro,rslave
networks: networks: