From 3d093347bac809689ebd31a344a4fbe9a10c9b35 Mon Sep 17 00:00:00 2001 From: Wangchong Zhou Date: Wed, 27 Feb 2019 17:26:35 -0800 Subject: [PATCH] fix Prometheus HELP text to be consistent Signed-off-by: Wangchong Zhou --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index edf6c7a..8cda2ed 100644 --- a/main.go +++ b/main.go @@ -143,7 +143,7 @@ func (c *graphiteCollector) processLine(line string) { Value: value, Labels: labels, Type: prometheus.GaugeValue, - Help: fmt.Sprintf("Graphite metric %s", originalName), + Help: fmt.Sprintf("Graphite metric %s", name), Timestamp: time.Unix(int64(timestamp), int64(math.Mod(timestamp, 1.0)*1e9)), } log.Debugf("Sample: %+v", sample)