Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compressUsername (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics.go

    		resultLabel = successLabel
    		authenticatedUserCounter.WithContext(ctx).WithLabelValues(compressUsername(resp.User.GetName())).Inc()
    	}
    
    	authenticatedAttemptsCounter.WithContext(ctx).WithLabelValues(resultLabel).Inc()
    	authenticationLatency.WithContext(ctx).WithLabelValues(resultLabel).Observe(authFinish.Sub(authStart).Seconds())
    }
    
    // compressUsername maps all possible usernames onto a small set of categories
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top