From 72404d9ed154df1fdee5f3b563237c3d85aa3b78 Mon Sep 17 00:00:00 2001 From: Stephen Shirley Date: Wed, 18 Feb 2015 16:04:53 +0100 Subject: [PATCH] Ignore floppy disk devices, due to it being 2015 --- collector/diskstats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/diskstats.go b/collector/diskstats.go index 34dfb34c..26300f4c 100644 --- a/collector/diskstats.go +++ b/collector/diskstats.go @@ -22,7 +22,7 @@ const ( ) var ( - ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(h|s|v|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.") + ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(fd|h|s|v|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.") ) type diskstatsCollector struct {