Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MetricsAuth (0.08 sec)

  1. cmd/metrics.go

    		claims, groups, owner, authErr := metricsRequestAuthenticate(r)
    		if authErr != nil || (claims != nil && !claims.VerifyIssuer("prometheus", true)) {
    			if ok {
    				tc.FuncName = "handler.MetricsAuth"
    				tc.ResponseRecorder.LogErrBody = true
    			}
    
    			writeErrorResponseJSON(r.Context(), w, toAdminAPIErr(r.Context(), errAuthentication), r.URL)
    			return
    		}
    
    		cred := auth.Credentials{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top