mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 12:30:46 +01:00
Ignore iso9600 filesystem on Linux (#1355)
The filesystem is read-only and is often used for a virtual FS with a configuration file for a virtual machine. Signed-off-by: Leonid Evdokimov <leon@darkk.net.ru>
This commit is contained in:
parent
2bc133cd48
commit
22a7dbae08
@ -30,7 +30,7 @@ import (
|
||||
|
||||
const (
|
||||
defIgnoredMountPoints = "^/(dev|proc|sys|var/lib/docker/.+)($|/)"
|
||||
defIgnoredFSTypes = "^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$"
|
||||
defIgnoredFSTypes = "^(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)$"
|
||||
mountTimeout = 30 * time.Second
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user