From 4403ded632666310b2626f7ed95fdba9a0249003 Mon Sep 17 00:00:00 2001 From: maura fortino Date: Thu, 7 Nov 2024 16:21:54 -0500 Subject: [PATCH] updated MeasuresIn struct --- chrysom/metrics.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrysom/metrics.go b/chrysom/metrics.go index ab5b5a4..67e8d3b 100644 --- a/chrysom/metrics.go +++ b/chrysom/metrics.go @@ -37,7 +37,8 @@ type Measures struct { // MeasuresIn is an uber/fx parameter with the webhook registration counter. type MeasuresIn struct { fx.In - Measures + WebhookListSizeGauge prometheus.Gauge `name:"webhook_list_size"` + PollsTotalCounter *prometheus.CounterVec `name:"chrysom_polls_total"` } // NewMeasures realizes desired metrics.