mirror of
https://github.com/prometheus/node_exporter
synced 2024-12-18 20:35:04 +00:00
Merge pull request #45 from kormat/master
Ignore floppy disk devices, due to it being 2015
This commit is contained in:
commit
79bde79d50
@ -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|(f|h|s|v|xv)d[a-z])\\d+$", "Regexp of devices to ignore for diskstats.")
|
||||
)
|
||||
|
||||
type diskstatsCollector struct {
|
||||
|
Loading…
Reference in New Issue
Block a user