mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-02-02 08:42:31 -08:00
Merge pull request #384 from bjornfor/filesystem-ignore-autofs
Ignore autofs filesystems on linux
This commit is contained in:
commit
88f8dba35e
|
@ -26,7 +26,7 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)"
|
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)"
|
||||||
defIgnoredFSTypes = "^(sys|proc)fs$"
|
defIgnoredFSTypes = "^(sys|proc|auto)fs$"
|
||||||
ST_RDONLY = 0x1
|
ST_RDONLY = 0x1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue