mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-29 14:52:20 -08:00
Ignore autofs filesystems on linux
node_exporter currently triggers autofs to mount the underlying filesystem on every scrape. This is undesirable. Better ignore autofs. The underlying filesystem that autofs mounts will be monitored though, when the (real) filesystem is mounted.
This commit is contained in:
parent
71ea37987f
commit
64e637cbcc
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)"
|
||||
defIgnoredFSTypes = "^(sys|proc)fs$"
|
||||
defIgnoredFSTypes = "^(sys|proc|auto)fs$"
|
||||
ST_RDONLY = 0x1
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue