diff --git a/promrus.go b/promrus.go index 4c20ab8..90720d1 100644 --- a/promrus.go +++ b/promrus.go @@ -22,7 +22,7 @@ func NewPrometheusHook() (*PrometheusHook, error) { }, []string{"level"}) // Initialise counters for all supported levels: for _, level := range supportedLevels { - counterVec.WithLabelValues(level.String()).Set(0) + counterVec.WithLabelValues(level.String()) } // Try to register the counter vector: err := prometheus.Register(counterVec)