From b0d084e676d3379cea95be862a830a204d0cae82 Mon Sep 17 00:00:00 2001 From: Peter Bourgon Date: Mon, 16 Apr 2018 14:56:06 -0400 Subject: [PATCH] Bugfix: bad metric name --- prometheus.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus.go b/prometheus.go index a8c19a1..27a203c 100644 --- a/prometheus.go +++ b/prometheus.go @@ -320,8 +320,8 @@ func (m *prometheusMetrics) register(namespace, subsystem string) { Help: "Total count of passes.", }, []string{"datacenter"}) m.synthsTotal = promauto.NewCounterVec(prometheus.CounterOpts{Namespace: namespace, Subsystem: subsystem, - Name: "Total count of synths.", - Help: "synth_total", + Name: "synth_total", + Help: "Total count of synths.", }, []string{"datacenter"}) m.errorsTotal = promauto.NewCounterVec(prometheus.CounterOpts{Namespace: namespace, Subsystem: subsystem, Name: "errors_total",