apiserver/pkg/endpoints
Mike Spreitzer e28ab56bd4 Introduce more metrics on concurrency
Introduce min, average, and standard deviation for the number of
executing mutating and readOnly requests.

Introduce min, max, average, and standard deviation for the number
waiting and number waiting per priority level.

Later:

Revised to use a series of windows

Use three individuals instead of array of powers

Later:

Add coarse queue count metrics, removed windowed avg and stddev

Add metrics for number of queued mutating and readOnly requests,
to complement metrics for number executing.

Later:

Removed windowed average and standard deviation because consumers can
derive such from integrals of consumer's chosen window.

Also replaced "requestKind" Prometheus label with "request_kind".

Later:

Revised to focus on sampling

Make the clock intrinsic to a TimedObserver

... so that the clock can be read while holding the observer's lock;
otherwise, forward progress is not guaranteed (and violations were
observed in testing).

Bug fixes and histogram buckets revision

SetX1 to 1 when queue length limit is zero, beause dividing by zero is nasty.

Remove obsolete argument in gen_test.go.

Add a bucket boundary at 0 for sample-and-water-mark histograms, to
distinguish zeroes from non-zeros.

This includes adding Integrator test.

Simplified test code.

More pervasively used "ctlr" instead of "ctl" as abbreviation for
"controller".

Kubernetes-commit: 57ecea22296797a93b0157169db0ff2e477f58d0
2020-05-17 01:02:25 -04:00
..
deprecation apiserver: add warnings for deprecated APIs 2020-04-14 16:11:21 -04:00
discovery switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
filters Enable nested tracing, add request filter chain tracing incl. authn/authz tracing 2020-03-06 16:11:21 -08:00
handlers Enable nested tracing, add request filter chain tracing incl. authn/authz tracing 2020-03-06 16:11:21 -08:00
internal Enable nested tracing, add request filter chain tracing incl. authn/authz tracing 2020-03-06 16:11:21 -08:00
metrics Introduce more metrics on concurrency 2020-05-17 01:02:25 -04:00
openapi apiserver: fix openapi extension types to be JSON 2019-02-07 15:34:42 +01:00
request Enable nested tracing, add request filter chain tracing incl. authn/authz tracing 2020-03-06 16:11:21 -08:00
testing Not rely on default conversions in apiserver test 2020-02-11 14:53:17 +01:00
warning apiserver: add API server plumbing for adding warnings 2020-04-14 16:10:54 -04:00
apiserver_test.go Not rely on default conversions in apiserver test 2020-02-11 14:53:17 +01:00
audit_test.go updates audit endpoints test 2018-11-01 15:56:50 -06:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
groupversion.go Replace HTTP compression with an inline handler 2019-05-04 17:36:36 -04:00
installer.go Add ResourceVersionMatch parameter to make Resource Version semantics consistent for list 2020-05-29 10:44:26 -07:00
installer_test.go fix kube-apiserver panic when CRD Kind contains only one letter 2020-06-06 23:01:35 +08:00
patchhandler_test.go fix some ineffassigns 2019-09-09 18:52:17 +08:00
watch_test.go client-go dynamic client: add context to callers 2020-03-06 10:17:41 -05:00