mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-20 07:19:01 +01:00
Ignore more virtual filesystems (#775)
Add additional Linux virtual filesystem types to the default list.
This commit is contained in:
parent
2aa8d0eb0c
commit
7f6c59e198
@ -25,8 +25,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)"
|
||||
defIgnoredFSTypes = "^(sysfs|autofs|procfs|proc)$"
|
||||
defIgnoredMountPoints = "^/(dev|proc|sys)($|/)"
|
||||
defIgnoredFSTypes = "^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$"
|
||||
readOnly = 0x1 // ST_RDONLY
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user