Skip to content

Commit

Permalink
Error gauge should be counter
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Deems authored and kevindweb committed Dec 13, 2024
1 parent 370c9d8 commit a7392b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxymw/backpressure.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const (
var (
bpWatermarkGauge = promauto.NewGauge(prometheus.GaugeOpts{Name: "proxymw_bp_watermark"})
bpAllowanceGauge = promauto.NewGauge(prometheus.GaugeOpts{Name: "proxymw_bp_allowance"})
bpQueryErrCounter = promauto.NewGauge(
prometheus.GaugeOpts{Name: "proxymw_bp_query_error_count"},
bpQueryErrCounter = promauto.NewCounter(
prometheus.CounterOpts{Name: "proxymw_bp_query_error_count"},
)
)

Expand Down

0 comments on commit a7392b5

Please sign in to comment.