Browse Source

Merge pull request #44 from kormat/master

Also ignore vda1 and friends
pull/46/head
Brian Brazil 10 years ago
parent
commit
6b5a1e797e
  1. 2
      collector/diskstats.go

2
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 {

Loading…
Cancel
Save