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.