mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
Ignore mountpoints under /run (#2157)
* Exclude mountpoints under /run/credentials Signed-off-by: ml <ml@visu.li>
This commit is contained in:
parent
421fc429f3
commit
094ee24ad7
|
@ -33,7 +33,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
defMountPointsExcluded = "^/(dev|proc|sys|var/lib/docker/.+)($|/)"
|
||||
defMountPointsExcluded = "^/(dev|proc|run/credentials/.+|sys|var/lib/docker/.+)($|/)"
|
||||
defFSTypesExcluded = "^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue