From 676ed5c6aced71dac142cebfc89db29dcc2a4577 Mon Sep 17 00:00:00 2001 From: Will Rouesnel Date: Tue, 7 Jul 2015 02:40:19 +1000 Subject: [PATCH] Change "filesystem" to "mountpoint" to better reflect the new labels. --- collector/filesystem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),