From 0616dd6690793f87b01a0002f2da4333ebbaa90d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=89=E5=BC=A0=E7=BA=B8?= Date: Thu, 23 Mar 2017 00:33:05 +0800 Subject: [PATCH] Update cpu.go (#65) fix typo --- collector/cpu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/cpu.go b/collector/cpu.go index 130b851d..500d1e27 100644 --- a/collector/cpu.go +++ b/collector/cpu.go @@ -57,7 +57,7 @@ func NewCPUCollector() (Collector, error) { // to the provided prometheus Metric channel. func (c *CPUCollector) Collect(ch chan<- prometheus.Metric) error { if desc, err := c.collect(ch); err != nil { - log.Println("[ERROR] failed collecting os metrics:", desc, err) + log.Println("[ERROR] failed collecting cpu metrics:", desc, err) return err } return nil