Skip to content

Commit e1d4cf1

Browse files
roidelapluieSuperQ
andauthored
Update https/users.go
Co-authored-by: Ben Kochie <[email protected]>
1 parent 708b3f7 commit e1d4cf1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

https/users.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ type userAuthRoundtrip struct {
4747
func (u *userAuthRoundtrip) instrument(r prometheus.Registerer) {
4848
u.failuresCounter = prometheus.NewCounter(
4949
prometheus.CounterOpts{
50-
Namespace: "prometheus_toolkit_web",
51-
Name: "http_request_basic_authentication_failures_total",
50+
Namespace: "prometheus_toolkit",
51+
Subsystem: "https",
52+
Name: "request_basic_authentication_failures_total",
5253
Help: "Total number of requests rejected by basic authentication because of wrong username, password, or configuration.",
5354
},
5455
)

0 commit comments

Comments
 (0)