Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for guessIsMetricsReq (0.14 sec)

  1. cmd/generic-handlers.go

    			req.URL.Path == healthCheckPathPrefix+healthCheckClusterPath ||
    			req.URL.Path == healthCheckPathPrefix+healthCheckClusterReadPath)
    }
    
    // guessIsMetricsReq - returns true if incoming request looks
    // like metrics request
    func guessIsMetricsReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	aType := getRequestAuthType(req)
    	return (aType == authTypeAnonymous || aType == authTypeJWT) &&
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top