Merge pull request #74 from llitfkitfk/version-2

Update node exporter ignored mount points
This commit is contained in:
田浩 2017-11-14 12:33:43 +08:00 committed by GitHub
commit 571ec20212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ services:
command:
- '--path.procfs=/host/proc'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.ignored-mount-points="^/(sys|proc|dev|host|etc)($$|/)"'
- --collector.filesystem.ignored-mount-points
- "^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns)($$|/)"
ports:
- 9100:9100
networks: