Skip to content

Commit

Permalink
fix Prometheus HELP text to be consistent
Browse files Browse the repository at this point in the history
Signed-off-by: Wangchong Zhou <[email protected]>
  • Loading branch information
fffonion committed Feb 28, 2019
1 parent 6dcfdb8 commit 3d09334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3d09334

Please sign in to comment.