Kubernetes API server metrics integration metrics
The official Datadog integration for monitoring Kubernetes API server metrics. It collects 78 metrics.
Official summary
Collect metrics from the Kubernetes APIserver
Metric types
- gauge (value at a point in time): 45
- count (occurrences in the interval): 33
Metrics
Descriptions are the official definitions, unedited.
| Metric | Type | Unit |
|---|---|---|
kube_apiserver.The current depth of workqueue: APIServiceRegistrationController (deprecated in Kubernetes 1.26) | gauge | - |
kube_apiserver.The admission controller latency histogram in seconds identified by name and broken out for each operation and API resource and type (validate or admit) count | count | - |
kube_apiserver.The admission controller latency histogram in seconds identified by name and broken out for each operation and API resource and type (validate or admit) | gauge | second |
kube_apiserver.The admission sub-step latency histogram broken out for each operation and API resource and step type (validate or admit) count | count | - |
kube_apiserver.The admission sub-step latency broken out for each operation and API resource and step type (validate or admit) | gauge | second |
kube_apiserver.The admission sub-step latency summary broken out for each operation and API resource and step type (validate or admit) count | count | - |
kube_apiserver.The admission sub-step latency summary broken out for each operation and API resource and step type (validate or admit) quantile | gauge | second |
kube_apiserver.The admission sub-step latency summary broken out for each operation and API resource and step type (validate or admit) | gauge | second |
kube_apiserver.The admission webhook latency identified by name and broken out for each operation and API resource and type (validate or admit) count | count | - |
kube_apiserver.The admission webhook latency identified by name and broken out for each operation and API resource and type (validate or admit) | gauge | second |
kube_apiserver.Gauge of APIServices which are marked as unavailable broken down by APIService name (alpha; Kubernetes 1.14+) | gauge | - |
kube_apiserver.Admission webhook fail open count, identified by name and broken out for each admission type (validating or mutating). | gauge | - |
kube_apiserver.Admission webhook fail open count, identified by name and broken out for each admission type (validating or mutating). | count | - |
kube_apiserver.Admission webhook request total, identified by name and broken out for each admission type (alpha; Kubernetes 1.23+) | gauge | - |
kube_apiserver.Admission webhook request total, identified by name and broken out for each admission type (alpha; Kubernetes 1.23+) | count | - |
kube_apiserver.The accumulated number of requests dropped with 'Try again later' response(deprecated in Kubernetes 1.29) | gauge | request |
kube_apiserver.The monotonic count of requests dropped with 'Try again later' response (deprecated in Kubernetes 1.29 replaced by kube_apiserver.flowcontrol_rejected_requests_total.count) | count | request |
kube_apiserver.The accumulated number of apiserver requests broken out for each verb API resource client and HTTP response contentType and code (deprecated in Kubernetes 1.15) | gauge | request |
kube_apiserver.The monotonic count of apiserver requests broken out for each verb API resource client and HTTP response contentType and code (deprecated in Kubernetes 1.15) | count | request |
kube_apiserver.The number of requests the apiserver terminated in self-defense (Kubernetes 1.17+) | count | request |
kube_apiserver.The accumulated number of apiserver requests broken out for each verb API resource client and HTTP response contentType and code (Kubernetes 1.15+; replaces apiserver_request_count) | gauge | request |
kube_apiserver.The monotonic count of apiserver requests broken out for each verb API resource client and HTTP response contentType and code (Kubernetes 1.15+; replaces apiserver_request_count.count) | count | request |
kube_apiserver.The accumulated number audit events generated and sent to the audit backend | gauge | event |
kube_apiserver.The monotonic count of audit events generated and sent to the audit backend | count | event |
kube_apiserver.The accumulated number of authenticated requests broken out by username | gauge | request |
kube_apiserver.The monotonic count of authenticated requests broken out by username | count | request |
kube_apiserver.The counter of authenticated attempts (Kubernetes 1.16+) | count | request |
kube_apiserver.The authentication duration histogram broken out by result (Kubernetes 1.17+) | count | - |
kube_apiserver.The authentication duration histogram broken out by result (Kubernetes 1.17+) | gauge | second |
kube_apiserver.The maximal number of currently used inflight request limit of this apiserver per request kind in last second. | gauge | - |
kube_apiserver.Percent of the cache slots currently occupied by cached DEKs. | gauge | - |
kube_apiserver.The total size of the etcd database file physically allocated in bytes (alpha; Kubernetes 1.19+) | gauge | byte |
kube_apiserver.The number of stored objects at the time of last check split by kind (alpha; deprecated in Kubernetes 1.22 replaced by apiserver_storage_objects) | gauge | object |
kube_apiserver.Etcd request latencies count for each operation and object type (alpha) | count | - |
kube_apiserver.Etcd request latencies for each operation and object type (alpha) | gauge | second |
kube_apiserver.Etcd failed request counts for each operation and object type | count | request |
kube_apiserver.Etcd request counts for each operation and object type | count | request |
kube_apiserver.Number of requests in initial (for a WATCH) or any (for a non-WATCH) execution stage in the API Priority and Fairness subsystem | gauge | - |
kube_apiserver.Number of seats (concurrency units) currently occupied by executing requests in the API Priority and Fairness subsystem | gauge | - |
kube_apiserver.Number of requests currently pending in queues of the API Priority and Fairness subsystem | count | - |
kube_apiserver.Number of requests executed by API Priority and Fairness subsystem | count | - |
kube_apiserver.Nominal limit on the number of execution seats available to requests in the API Priority and Fairness subsystem | gauge | - |
kube_apiserver.Number of requests rejected by API Priority and Fairness subsystem | count | - |
kube_apiserver.Shared concurrency limit in the API Priority and Fairness subsystem (deprecated in Kubernetes 1.26 replaced by kube_apiserver.nominal_limit_seats) | gauge | - |
kube_apiserver.The request wait duration histogram count in the API Priority and Fairness subsystem | count | - |
kube_apiserver.The request wait duration histogram sum in the API Priority and Fairness subsystem | gauge | second |
kube_apiserver.The number of goroutines that currently exist | gauge | - |
kube_apiserver.The number of OS threads created | gauge | thread |
kube_apiserver.The total number of RPCs completed by the client regardless of success or failure | count | request |
kube_apiserver.The total number of gRPC stream messages received by the client | count | message |
kube_apiserver.The total number of gRPC stream messages sent by the client | count | message |
kube_apiserver.The total number of RPCs started on the client | count | request |
kube_apiserver.The accumulated number of HTTP requests made | gauge | request |
kube_apiserver.The monotonic count of the number of HTTP requests made | count | request |
kube_apiserver.Whether a Kubernetes feature gate is enabled or not, identified by name and stage (alpha; Kubernetes 1.26+) | gauge | - |
kube_apiserver.The gauge of all active long-running apiserver requests broken out by verb, group, version, resource, scope, and component. Not all requests are tracked this way. | gauge | request |
kube_apiserver.Total user and system CPU time spent in seconds. | count | second |
kube_apiserver.The resident memory size in bytes | gauge | byte |
kube_apiserver.The virtual memory size in bytes | gauge | byte |
kube_apiserver.The number of currently registered watchers for a given resource | gauge | object |
kube_apiserver.The response latency distribution in seconds for each verb, dry run value, group, version, resource, subresource, scope, and component count | count | - |
kube_apiserver.The response latency distribution in seconds for each verb, dry run value, group, version, resource, subresource, scope, and component | gauge | second |
kube_apiserver.The response latency distribution in microseconds for each verb, resource, and subresource count (deprecated in Kubernetes 1.14, replaced by apiserver_request_duration_seconds) | count | - |
kube_apiserver.The response latency distribution in microseconds for each verb, resource and subresource | gauge | microsecond |
kube_apiserver.Gauge of deprecated APIs that have been requested, broken out by API group, version, resource, subresource, and removed_release | gauge | request |
kube_apiserver.The request latency in seconds broken down by verb and URL count | count | - |
kube_apiserver.The request latency in seconds broken down by verb and URL | gauge | second |
kube_apiserver.The accumulated number of HTTP requests partitioned by status code method and host | gauge | request |
kube_apiserver.The monotonic count of HTTP requests partitioned by status code method and host | count | request |
kube_apiserver.Result of a single kubernetes apiserver healthcheck (alpha; requires k8s v1.26+) | gauge | - |
kube_apiserver.The monotonic count of all kubernetes apiserver healthchecks (alpha; requires k8s v1.26+) | count | - |
kube_apiserver.The number of objects tested in the course of serving a LIST request from storage (alpha; Kubernetes 1.23+) | gauge | object |
kube_apiserver.The number of objects read from storage in the course of serving a LIST request (alpha; Kubernetes 1.23+) | gauge | object |
kube_apiserver.The number of objects returned for a LIST request from storage (alpha; Kubernetes 1.23+) | gauge | object |
kube_apiserver.The number of LIST requests served from storage (alpha; Kubernetes 1.23+) | gauge | object |
kube_apiserver.The number of stored objects at the time of last check split by kind (Kubernetes 1.21+; replaces etcd_object_counts) | gauge | object |
kube_apiserver.The watch event size distribution (Kubernetes 1.16+) | count | - |
kube_apiserver.The watch event size distribution (Kubernetes 1.16+) | gauge | byte |
Official documentation
Official documentation for the Kubernetes API server metrics integration
Metric names and descriptions are the official Datadog integration definitions (Copyright Datadog, Inc., BSD-3-Clause), reproduced unedited. The full license terms are on the About page.