Skip to content

Commit

Permalink
updated MeasuresIn struct
Browse files Browse the repository at this point in the history
  • Loading branch information
maurafortino committed Nov 7, 2024
1 parent 4779e95 commit 4403ded
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chrysom/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4403ded

Please sign in to comment.