const successLabel …
const failureLabel …
const errorLabel …
const allowedLabel …
const deniedLabel …
const noOpinionLabel …
var authenticatedUserCounter …
var authenticatedAttemptsCounter …
var authenticationLatency …
var authorizationAttemptsCounter …
var authorizationLatency …
func init() { … }
func recordAuthorizationMetrics(ctx context.Context, authorized authorizer.Decision, err error, authStart time.Time, authFinish time.Time) { … }
func recordAuthenticationMetrics(ctx context.Context, resp *authenticator.Response, ok bool, err error, apiAudiences authenticator.Audiences, authStart time.Time, authFinish time.Time) { … }
func compressUsername(username string) string { … }