Skip to content

Commit

Permalink
Rename metric
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
  • Loading branch information
roidelapluie committed Dec 27, 2020
1 parent 2c33506 commit c652415
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions https/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ func (u *userAuthRoundtrip) instrument(r prometheus.Registerer) {
u.failuresCounter = prometheus.NewCounter(
prometheus.CounterOpts{
Namespace: "prometheus_toolkit",
Subsystem: "https",
Name: "request_basic_authentication_failures_total",
Name: "http_request_basic_authentication_failures_total",
Help: "Total number of requests rejected by basic authentication because of wrong username, password, or configuration.",
},
)
Expand Down

0 comments on commit c652415

Please sign in to comment.