Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5 from hairyhenderson/patch-1
Browse files Browse the repository at this point in the history
Register cortex_gateway_failed_authentications_total
  • Loading branch information
Martin Schneppenheim authored Sep 21, 2020
2 parents 0d060c0 + 09f4caf commit 03333be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (

var (
jwtSecret string
authFailures = prometheus.NewCounterVec(prometheus.CounterOpts{
authFailures = promauto.NewCounterVec(prometheus.CounterOpts{
Namespace: "cortex_gateway",
Name: "failed_authentications_total",
Help: "The total number of failed authentications.",
Expand Down

0 comments on commit 03333be

Please sign in to comment.