diff --git a/collector/cpu_linux.go b/collector/cpu_linux.go index 69e0a175..95efdcb1 100644 --- a/collector/cpu_linux.go +++ b/collector/cpu_linux.go @@ -184,7 +184,7 @@ func (c *cpuCollector) updateInfo(ch chan<- prometheus.Metric) error { for _, cpu := range info { ch <- prometheus.MustNewConstMetric(c.cpuInfo, prometheus.GaugeValue, - 1, + cpu.CPUMHz, cpu.PhysicalID, cpu.CoreID, strconv.Itoa(int(cpu.Processor)),