From ffb6425d461351be85ada75e757a70c3f165d7b6 Mon Sep 17 00:00:00 2001 From: barnettZQG Date: Fri, 8 Jun 2018 17:13:28 +0800 Subject: [PATCH] [FIX] Exclude Linux proc from filesystem type regexp --- .../prometheus/node_exporter/collector/filesystem_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/github.com/prometheus/node_exporter/collector/filesystem_linux.go b/vendor/github.com/prometheus/node_exporter/collector/filesystem_linux.go index d9a443204..b00db6a5b 100644 --- a/vendor/github.com/prometheus/node_exporter/collector/filesystem_linux.go +++ b/vendor/github.com/prometheus/node_exporter/collector/filesystem_linux.go @@ -26,7 +26,7 @@ import ( const ( defIgnoredMountPoints = "^/(sys|proc|dev)($|/)" - defIgnoredFSTypes = "^(sys|proc|auto)fs$" + defIgnoredFSTypes = "^(sysfs|autofs|procfs|proc)$" readOnly = 0x1 // ST_RDONLY )