This page details the metrics that the custom metrics adapter exposes by default. Many of the exposed metrics are created in this project's dependencies. Generating this doc is currently a manual process.
Stable metrics observe strict API contracts and no labels can be added or removed from stable metrics during their lifetime.
Maximal number of currently used inflight request limit of this apiserver per request kind in last second.
-
Stability Level: STABLE
-
Type: Gauge
-
Labels:
- request_kind
Response latency distribution in seconds for each verb, dry run value, group, version, resource, subresource, scope and component.
-
Stability Level: STABLE
-
Type: Histogram
-
Labels:
- component
- dry_run
- group
- resource
- scope
- subresource
- verb
- version
Counter of apiserver requests broken out for each verb, dry run value, group, version, resource, scope, component, and HTTP response code.
-
Stability Level: STABLE
-
Type: Counter
-
Labels:
- code
- component
- dry_run
- group
- resource
- scope
- subresource
- verb
- version
Response size distribution in bytes for each group, version, verb, resource, subresource, scope and component.
-
Stability Level: STABLE
-
Type: Histogram
-
Labels:
- component
- group
- resource
- scope
- subresource
- verb
- version
Beta metrics observe a looser API contract than its stable counterparts. No labels can be removed from beta metrics during their lifetime, however, labels can be added while the metric is in the beta stage. This offers the assurance that beta metrics will honor existing dashboards and alerts, while allowing for amendments in the future.
The count of disabled metrics.
- Stability Level: BETA
- Type: Counter
hidden_metrics_total
The count of hidden metrics.
- Stability Level: BETA
- Type: Counter
The count of registered metrics broken by stability level and deprecation version.
-
Stability Level: BETA
-
Type: Counter
-
Labels:
- deprecated_version
- stability_level
Alpha metrics do not have any API guarantees. These metrics must be used at your own risk, subsequent versions of Kubernetes may remove these metrics altogether, or mutate the API in such a way that breaks existing dashboards and alerts.
Counter of number of times discovery was aggregated
- Stability Level: ALPHA
- Type: Counter
Counter of audit events generated and sent to the audit backend.
- Stability Level: ALPHA
- Type: Counter
Counter of apiserver requests rejected due to an error in audit logging backend.
- Stability Level: ALPHA
- Type: Counter
Distribution of the remaining lifetime on the certificate used to authenticate a request.
- Stability Level: ALPHA
- Type: Histogram
Request latency in seconds. Broken down by status code.
-
Stability Level: ALPHA
-
Type: Histogram
-
Labels:
- code
Number of HTTP requests partitioned by status code.
-
Stability Level: ALPHA
-
Type: Counter
-
Labels:
- code
Percent of the cache slots currently occupied by cached DEKs.
- Stability Level: ALPHA
- Type: Gauge
Observations, at the end of every nanosecond, of the number of requests (as a fraction of the relevant limit) waiting or in regular stage of execution
-
Stability Level: ALPHA
-
Type: TimingRatioHistogram
-
Labels:
- phase
- request_kind
Fair fraction of server's concurrency to allocate to each priority level that can use it
- Stability Level: ALPHA
- Type: Gauge
Request filter latency distribution in seconds, for each filter type
-
Stability Level: ALPHA
-
Type: Histogram
-
Labels:
- filter
Response latency distribution (not counting webhook duration and priority & fairness queue wait times) in seconds for each verb, group, version, resource, subresource, scope and component.
-
Stability Level: ALPHA
-
Type: Histogram
-
Labels:
- component
- group
- resource
- scope
- subresource
- verb
- version
Response latency distribution (not counting webhook duration and priority & fairness queue wait times) in seconds for each verb, group, version, resource, subresource, scope and component.
-
Stability Level: ALPHA
-
Type: Histogram
-
Labels:
- component
- group
- resource
- scope
- subresource
- verb
- version
-
Deprecated Versions: 1.27.0
Latencies in seconds of data encryption key(DEK) generation operations.
- Stability Level: ALPHA
- Type: Histogram
Total number of failed data encryption key(DEK) generation operations.
- Stability Level: ALPHA
- Type: Counter
Total number of cache misses while accessing key decryption key(KEK).
- Stability Level: ALPHA
- Type: Counter
Number of requests dropped with 'TLS handshake error from' error
- Stability Level: ALPHA
- Type: Counter
Counts the number of requests to servers with insecure SHA1 signatures in their serving certificate OR the number of connection failures due to the insecure SHA1 signatures (either/or, based on the runtime environment)
- Stability Level: ALPHA
- Type: Counter
Counts the number of requests to servers missing SAN extension in their serving certificate OR the number of connection failures due to the lack of x509 certificate SAN extension missing (either/or, based on the runtime environment)
- Stability Level: ALPHA
- Type: Counter
Counter of authenticated requests broken out by username.
-
Stability Level: ALPHA
-
Type: Counter
-
Labels:
- username
Counter of authenticated attempts.
-
Stability Level: ALPHA
-
Type: Counter
-
Labels:
- result
Authentication duration in seconds broken out by result.
-
Stability Level: ALPHA
-
Type: Histogram
-
Labels:
- result
Counter of authorization attempts broken down by result. It can be either 'allowed', 'denied', 'no-opinion' or 'error'.
-
Stability Level: ALPHA
-
Type: Counter
-
Labels:
- result
Authorization duration in seconds broken out by result.
-
Stability Level: ALPHA
-
Type: Histogram
-
Labels:
- result
Response latency distribution in seconds for each field validation value
-
Stability Level: ALPHA
-
Type: Histogram
-
Labels:
- field_validation
Freshness of metrics exported
-
Stability Level: ALPHA
-
Type: Histogram
-
Labels:
- group
Total number of adds handled by workqueue
-
Stability Level: ALPHA
-
Type: Counter
-
Labels:
- name
Current depth of workqueue
-
Stability Level: ALPHA
-
Type: Gauge
-
Labels:
- name
How many seconds has the longest running processor for workqueue been running.
-
Stability Level: ALPHA
-
Type: Gauge
-
Labels:
- name
How long in seconds an item stays in workqueue before being requested.
-
Stability Level: ALPHA
-
Type: Histogram
-
Labels:
- name
Total number of retries handled by workqueue
-
Stability Level: ALPHA
-
Type: Counter
-
Labels:
- name
How many seconds of work has done that is in progress and hasn't been observed by work_duration. Large values indicate stuck threads. One can deduce the number of stuck threads by observing the rate at which this increases.
-
Stability Level: ALPHA
-
Type: Gauge
-
Labels:
- name
How long in seconds processing an item from workqueue takes.
-
Stability Level: ALPHA
-
Type: Histogram
-
Labels:
- name