• Kubernetes Submit Queue's avatar
    Merge pull request #36702 from fabxc/client-metrics · 1199d422
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 37701, 36702, 37145, 37424, 38261)
    
    Limit unbound label cardinality on request errors
    
    This converts all request errors to the string `<error>` instead of
    passing the full error string. Error strings can have arbitrary values
    and thus have a cardinality that is not suitable for a metric
    use case.
    
    Inspecting individual errors is a logging use case which can be handled separately by registering a client error handler.
    
    @kubernetes/sig-instrumentation
    1199d422
request.go 36.3 KB