apiserver/pkg/server/filters
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
..
OWNERS Updated OWNERS files to include link to docs 2019-01-30 20:05:00 +01:00
content_type.go add a content-type filter to apiserver filters to autoset nosniff 2019-01-04 14:06:46 -08:00
content_type_test.go add a content-type filter to apiserver filters to autoset nosniff 2019-01-04 14:06:46 -08:00
cors.go switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
cors_test.go fix using defer in loop in cors test 2018-01-26 16:56:12 +08:00
doc.go move genericapiserver/server/filters to apiserver 2017-01-27 14:15:18 -05:00
goaway.go add a new generic filter goaway 2020-02-28 05:27:25 +08:00
goaway_test.go add a new generic filter goaway 2020-02-28 05:27:25 +08:00
longrunning.go Do not time-out profiler requests. 2018-01-02 14:42:01 +01:00
maxinflight.go Introduce more metrics on concurrency 2020-05-17 01:02:25 -04:00
maxinflight_test.go Remove request context mapper 2018-04-18 11:12:15 -04:00
priority-and-fairness.go Introduce more metrics on concurrency 2020-05-17 01:02:25 -04:00
timeout.go rename metric for apiserver request terminations and reword corresponding documentation 2019-10-21 13:26:31 -07:00
timeout_test.go Propagate and honor http.ErrAbortHandler 2019-09-11 11:16:31 -04:00
waitgroup.go apiserver: add Retry-After header to response when apiserver is shutting down 2019-11-20 17:30:52 +01:00
wrap.go switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00