Ajout d'une exclusion de /run parmi les mount-points

This commit is contained in:
Navas 2024-04-06 20:22:30 +02:00
parent ebed802ab3
commit 2e9d397550

View file

@ -1,6 +1,4 @@
# {{ ansible_managed }}
version: '3.1'
services:
nodeexporter:
image: prom/node-exporter:{{ docker_nodeexporter_version }}
@ -14,7 +12,7 @@ services:
- '--path.procfs=/host/proc'
- '--path.rootfs=/rootfs'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc|run)($$|/)'
restart: always
labels:
org.label-schema.group: "monitoring"