kubernetes/pkg/client/restclient
Kubernetes Submit Queue 1199d42210 Merge pull request #36702 from fabxc/client-metrics
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
2016-12-08 04:39:20 -08:00
..
fake generated: refactor 2016-11-23 22:30:47 -06:00
BUILD refactor: generated 2016-12-03 19:10:46 -05:00
client_test.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
client.go generated: refactor 2016-11-23 22:30:47 -06:00
config_test.go Merge pull request #36755 from deads2k/cli-09-extend-impersonate 2016-12-02 16:26:45 -08:00
config.go refactor: generated 2016-12-03 19:10:46 -05:00
plugin_test.go Use multiple clients in load test to avoid "no cached connections" errors. 2016-09-29 16:32:57 +02:00
plugin.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
request_test.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
request.go Merge pull request #36702 from fabxc/client-metrics 2016-12-08 04:39:20 -08:00
transport.go add other impersonation fields to transport 2016-11-15 08:10:30 -05:00
url_utils_test.go remove testapi.Default.GroupVersion 2016-10-07 10:10:54 -04:00
url_utils.go generated: refactor 2016-11-23 22:30:47 -06:00
urlbackoff_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
urlbackoff.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
versions.go refactor: generated 2016-12-03 19:10:46 -05:00