Also ignore xvda1, as seen on AWS

pull/13/head
Brian Brazil 2014-06-05 14:23:13 +01:00
parent 89a6a10bc8
commit b98ac0b050
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ type diskStat struct {
}
var (
ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|[hs]d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.")
ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop|(h|s|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.")
// Docs from https://www.kernel.org/doc/Documentation/iostats.txt
diskStatsMetrics = []diskStat{