Skip to content

Commit

Permalink
fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
f1yegor committed Nov 11, 2016
1 parent 3f7c0f4 commit 8f99c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clickhouse_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (e *Exporter) collect(ch chan<- prometheus.Metric) error {
for _, ev := range events {
newMetric, _ := prometheus.NewConstMetric(
prometheus.NewDesc(
metricName(ev.key)+"_total",
namespace + "_" + metricName(ev.key) + "_total",
"Number of "+ev.key+" total processed", []string{}, nil),
prometheus.CounterValue, float64(ev.value))
ch <- newMetric
Expand Down

0 comments on commit 8f99c63

Please sign in to comment.