Ajout d'une exclusion de /run parmi les mount-points
This commit is contained in:
parent
ebed802ab3
commit
2e9d397550
1 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue