apiserver/pkg/util
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
..
apihelpers non-generated api models misc 2019-10-23 15:17:10 +08:00
dryrun dry-run: Use dry-runnable structure 2018-06-21 08:49:13 -07:00
feature update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-03-04 12:46:52 -05:00
flowcontrol Introduce more metrics on concurrency 2020-05-17 01:02:25 -04:00
flushwriter sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel 2018-03-15 09:38:17 +00:00
openapi github.com/googleapis/gnostic v0.4.1 2020-03-31 17:18:56 -04:00
proxy Output port as number in error message 2019-11-22 13:12:59 -08:00
shufflesharding address some comments 2019-10-11 20:06:31 +08:00
webhook Remove double import of k8s.io/apimachinery/pkg/util/net 2020-04-08 16:25:23 -04:00
wsstream Fix a wrong usage of recover in apiserver. 2020-05-29 17:03:43 +08:00