diff --git a/collector/diskstats.go b/collector/diskstats.go index 26300f4c..915a2fe1 100644 --- a/collector/diskstats.go +++ b/collector/diskstats.go @@ -22,7 +22,7 @@ const ( ) var ( - ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(fd|h|s|v|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.") + ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(f|h|s|v|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.") ) type diskstatsCollector struct {