diff --git a/api/api.go b/api/api.go index aa9ceb08..c3f133a7 100644 --- a/api/api.go +++ b/api/api.go @@ -56,6 +56,9 @@ var ( ) func init() { + numReceivedAlerts.WithLabelValues("firing") + numReceivedAlerts.WithLabelValues("resolved") + prometheus.Register(numReceivedAlerts) prometheus.Register(numInvalidAlerts) }