Add overlay to defIgnoredFSTypes (#824)
* Add overlay to defIgnoredFSTypes To avoid statfs() errors if node_exporter is running as non privileged user. * Updated defIngoredFSTypes values in sorted orderpull/828/head
parent
822bf91d14
commit
f6965e1812
|
@ -26,7 +26,7 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
defIgnoredMountPoints = "^/(dev|proc|sys|var/lib/docker)($|/)"
|
defIgnoredMountPoints = "^/(dev|proc|sys|var/lib/docker)($|/)"
|
||||||
defIgnoredFSTypes = "^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$"
|
defIgnoredFSTypes = "^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$"
|
||||||
readOnly = 0x1 // ST_RDONLY
|
readOnly = 0x1 // ST_RDONLY
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue