diff --git a/collector/filesystem.go b/collector/filesystem.go index 449db69d..dc7724f6 100644 --- a/collector/filesystem.go +++ b/collector/filesystem.go @@ -43,7 +43,7 @@ func init() { // Takes a prometheus registry and returns a new Collector exposing // network device filesystems. func NewFilesystemCollector() (Collector, error) { - var filesystemLabelNames = []string{"device", "filesystem", "fstype"} + var filesystemLabelNames = []string{"device", "mountpoint", "fstype"} return &filesystemCollector{ ignoredMountPointsPattern: regexp.MustCompile(*ignoredMountPoints),