Change unit of CpufreqCollector to Hz. That's what the sysfs outputs

This commit is contained in:
Thomas Roehl 2022-07-12 11:58:37 +02:00
parent b16343e5e2
commit b2bc7b95d3

View File

@ -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