Initial cpu collector implementation

This commit is contained in:
Calle Pettersson
2016-09-17 17:11:35 +02:00
parent c98a0c16b2
commit 92b762f6a1
4 changed files with 215 additions and 5 deletions

View File

@@ -18,10 +18,6 @@ func init() {
Factories["logical_disk"] = NewLogicalDiskCollector
}
const (
ticksToSecondsScaleFactor = 1 / 1e7
)
var (
volumeWhitelist = flag.String("collector.logical_disk.volume-whitelist", ".+", "Regexp of volumes to whitelist. Volume name must both match whitelist and not match blacklist to be included.")
volumeBlacklist = flag.String("collector.logical_disk.volume-blacklist", "", "Regexp of volumes to blacklist. Volume name must both match whitelist and not match blacklist to be included.")