mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-26 15:29:04 +01:00
Change unit of CpufreqCollector to Hz. That's what the sysfs outputs
This commit is contained in:
parent
b16343e5e2
commit
b2bc7b95d3
@ -63,7 +63,7 @@ func (m *CPUFreqCollector) Init(config json.RawMessage) error {
|
|||||||
m.meta = map[string]string{
|
m.meta = map[string]string{
|
||||||
"source": m.name,
|
"source": m.name,
|
||||||
"group": "CPU",
|
"group": "CPU",
|
||||||
"unit": "MHz",
|
"unit": "Hz",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loop for all CPU directories
|
// Loop for all CPU directories
|
||||||
|
Loading…
Reference in New Issue
Block a user