Add collector for monitoring the execution of cc-metric-collector itself (#81)

* Add collector to monitor execution of cc-metric-collector itself

* Register SelfCollector

* Fix import paths for moved packages
This commit is contained in:
Thomas Gruber
2022-10-10 12:18:52 +02:00
committed by GitHub
parent 4bd71224df
commit 9ae0806aa9
3 changed files with 179 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ var AvailableCollectors = map[string]MetricCollector{
"beegfs_meta": new(BeegfsMetaCollector),
"beegfs_storage": new(BeegfsStorageCollector),
"rocm_smi": new(RocmSmiCollector),
"self": new(SelfCollector),
"schedstat": new(SchedstatCollector),
}