From 0c7d45cc5d1f3998072b79b08a8413e8162d3a30 Mon Sep 17 00:00:00 2001 From: Stephen Shirley Date: Wed, 18 Feb 2015 15:44:30 +0100 Subject: [PATCH] Also ignore vda1 and friends --- collector/diskstats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/diskstats.go b/collector/diskstats.go index 4d53d829..34dfb34c 100644 --- a/collector/diskstats.go +++ b/collector/diskstats.go @@ -22,7 +22,7 @@ const ( ) var ( - ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(h|s|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.") + ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(h|s|v|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.") ) type diskstatsCollector struct {