Add collector for the top5 processes in %cpu

This commit is contained in:
Thomas Roehl
2021-05-12 17:47:12 +02:00
parent b84dc08cd6
commit 14bc29f766
3 changed files with 42 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ var Collectors = map[string]collectors.MetricGetter{
"ibstat": &collectors.InfinibandCollector{},
"lustrestat": &collectors.LustreCollector{},
"cpustat": &collectors.CpustatCollector{},
"topprocs": &collectors.TopProcsCollector{},
}
var Sinks = map[string]sinks.SinkFuncs{