Skip to content

Commit

Permalink
fix: change counter to gauge
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Jul 30, 2021
1 parent 7907ad0 commit 7f5f63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var tokensCount = prometheus.NewGauge(prometheus.GaugeOpts{
Name: "available_tokens",
})

var invalidatedTokens = prometheus.NewCounter(prometheus.CounterOpts{
var invalidatedTokens = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "starcharts",
Subsystem: "github",
Name: "invalidated_tokens_total",
Expand Down

0 comments on commit 7f5f63b

Please sign in to comment.