Kubernetes metrics
Show metrics regarding the Kubernetes resources such as pods and deployments
| Metric name | Type | Description |
|---|---|---|
| kube_configmap_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_configmap_created | gauge | [STABLE] Unix creation timestamp |
| kube_configmap_info | gauge | [STABLE] Information about configmap. |
| kube_configmap_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_configmap_metadata_resource_version | gauge | Resource version representing a specific version of the configmap. |
| kube_daemonset_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_daemonset_created | gauge | [STABLE] Unix creation timestamp |
| kube_daemonset_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_daemonset_metadata_generation | gauge | [STABLE] Sequence number representing a specific generation of the desired state. |
| kube_daemonset_status_current_number_scheduled | gauge | [STABLE] The number of nodes running at least one daemon pod and are supposed to. |
| kube_daemonset_status_desired_number_scheduled | gauge | [STABLE] The number of nodes that should be running the daemon pod. |
| kube_daemonset_status_number_available | gauge | [STABLE] The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available |
| kube_daemonset_status_number_misscheduled | gauge | [STABLE] The number of nodes running a daemon pod but are not supposed to. |
| kube_daemonset_status_number_ready | gauge | [STABLE] The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. |
| kube_daemonset_status_number_unavailable | gauge | [STABLE] The number of nodes that should be running the daemon pod and have none of the daemon pod running and available |
| kube_daemonset_status_observed_generation | gauge | [STABLE] The most recent generation observed by the daemon set controller. |
| kube_daemonset_status_updated_number_scheduled | gauge | [STABLE] The total number of nodes that are running updated daemon pod |
| kube_deployment_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_deployment_created | gauge | [STABLE] Unix creation timestamp |
| kube_deployment_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_deployment_metadata_generation | gauge | [STABLE] Sequence number representing a specific generation of the desired state. |
| kube_deployment_spec_paused | gauge | [STABLE] Whether the deployment is paused and will not be processed by the deployment controller. |
| kube_deployment_spec_replicas | gauge | [STABLE] Number of desired pods for a deployment. |
| kube_deployment_spec_strategy_rollingupdate_max_surge | gauge | [STABLE] Maximum number of replicas that can be scheduled above the desired number of replicas during a rolling update of a deployment. |
| kube_deployment_spec_strategy_rollingupdate_max_unavailable | gauge | [STABLE] Maximum number of unavailable replicas during a rolling update of a deployment. |
| kube_deployment_status_condition | gauge | [STABLE] The current status conditions of a deployment. |
| kube_deployment_status_observed_generation | gauge | [STABLE] The generation observed by the deployment controller. |
| kube_deployment_status_replicas | gauge | [STABLE] The number of replicas per deployment. |
| kube_deployment_status_replicas_available | gauge | [STABLE] The number of available replicas per deployment. |
| kube_deployment_status_replicas_ready | gauge | [STABLE] The number of ready replicas per deployment. |
| kube_deployment_status_replicas_unavailable | gauge | [STABLE] The number of unavailable replicas per deployment. |
| kube_deployment_status_replicas_updated | gauge | [STABLE] The number of updated replicas per deployment. |
| kube_endpoint_address | gauge | [STABLE] Information about Endpoint available and non available addresses. |
| kube_endpoint_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_endpoint_created | gauge | [STABLE] Unix creation timestamp |
| kube_endpoint_info | gauge | [STABLE] Information about endpoint. |
| kube_endpoint_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_endpoint_ports | gauge | [STABLE] (Deprecated since v2.14.0) Information about the Endpoint ports. |
| kube_ingress_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_ingress_created | gauge | [STABLE] Unix creation timestamp |
| kube_ingress_info | gauge | [STABLE] Information about ingress. |
| kube_ingress_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_ingress_metadata_resource_version | gauge | Resource version representing a specific version of ingress. |
| kube_ingress_path | gauge | [STABLE] Ingress host, paths and backend service information. |
| kube_ingress_tls | gauge | [STABLE] Ingress TLS host and secret information. |
| kube_lease_owner | gauge | Information about the Lease's owner. |
| kube_lease_renew_time | gauge | Kube lease renew time. |
| kube_mutatingwebhookconfiguration_created | gauge | Unix creation timestamp. |
| kube_mutatingwebhookconfiguration_info | gauge | Information about the MutatingWebhookConfiguration. |
| kube_mutatingwebhookconfiguration_metadata_resource_version | gauge | Resource version representing a specific version of the MutatingWebhookConfiguration. |
| kube_mutatingwebhookconfiguration_webhook_clientconfig_service | gauge | Service used by the apiserver to connect to a mutating webhook. |
| kube_namespace_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_namespace_created | gauge | [STABLE] Unix creation timestamp |
| kube_namespace_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_namespace_status_condition | gauge | The condition of a namespace. |
| kube_namespace_status_phase | gauge | [STABLE] kubernetes namespace status phase. |
| kube_node_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_node_created | gauge | [STABLE] Unix creation timestamp |
| kube_node_deletion_timestamp | gauge | Unix deletion timestamp |
| kube_node_info | gauge | [STABLE] Information about a cluster node. |
| kube_node_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_node_role | gauge | The role of a cluster node. |
| kube_node_spec_taint | gauge | [STABLE] The taint of a cluster node. |
| kube_node_spec_unschedulable | gauge | [STABLE] Whether a node can schedule new pods. |
| kube_node_status_addresses | gauge | Node address information. |
| kube_node_status_allocatable | gauge | [STABLE] The allocatable for different resources of a node that are available for scheduling. |
| kube_node_status_capacity | gauge | [STABLE] The capacity for different resources of a node. |
| kube_node_status_condition | gauge | [STABLE] The condition of a cluster node. |
| kube_pod_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_pod_completion_time | gauge | [STABLE] Completion time in unix timestamp for a pod. |
| kube_pod_container_info | gauge | [STABLE] Information about a container in a pod. |
| kube_pod_container_resource_limits | gauge | The number of requested limit resource by a container. It is recommended to use the kube_pod_resource_limits metric exposed by kube-scheduler instead, as it is more precise. |
| kube_pod_container_resource_requests | gauge | The number of requested request resource by a container. It is recommended to use the kube_pod_resource_requests metric exposed by kube-scheduler instead, as it is more precise. |
| kube_pod_container_state_started | gauge | [STABLE] Start time in unix timestamp for a pod container. |
| kube_pod_container_status_last_terminated_exitcode | gauge | Describes the exit code for the last container in terminated state. |
| kube_pod_container_status_last_terminated_reason | gauge | Describes the last reason the container was in terminated state. |
| kube_pod_container_status_last_terminated_timestamp | gauge | Last terminated time for a pod container in unix timestamp. |
| kube_pod_container_status_ready | gauge | [STABLE] Describes whether the containers readiness check succeeded. |
| kube_pod_container_status_restarts_total | counter | [STABLE] The number of container restarts per container. |
| kube_pod_container_status_running | gauge | [STABLE] Describes whether the container is currently in running state. |
| kube_pod_container_status_terminated | gauge | [STABLE] Describes whether the container is currently in terminated state. |
| kube_pod_container_status_terminated_reason | gauge | Describes the reason the container is currently in terminated state. |
| kube_pod_container_status_waiting | gauge | [STABLE] Describes whether the container is currently in waiting state. |
| kube_pod_container_status_waiting_reason | gauge | [STABLE] Describes the reason the container is currently in waiting state. |
| kube_pod_created | gauge | [STABLE] Unix creation timestamp |
| kube_pod_deletion_timestamp | gauge | Unix deletion timestamp |
| kube_pod_info | gauge | [STABLE] Information about pod. |
| kube_pod_init_container_info | gauge | [STABLE] Information about an init container in a pod. |
| kube_pod_init_container_resource_limits | gauge | The number of requested limit resource by an init container. |
| kube_pod_init_container_resource_requests | gauge | The number of requested request resource by an init container. |
| kube_pod_init_container_status_last_terminated_reason | gauge | Describes the last reason the init container was in terminated state. |
| kube_pod_init_container_status_ready | gauge | [STABLE] Describes whether the init containers readiness check succeeded. |
| kube_pod_init_container_status_restarts_total | counter | [STABLE] The number of restarts for the init container. |
| kube_pod_init_container_status_running | gauge | [STABLE] Describes whether the init container is currently in running state. |
| kube_pod_init_container_status_terminated | gauge | [STABLE] Describes whether the init container is currently in terminated state. |
| kube_pod_init_container_status_terminated_reason | gauge | Describes the reason the init container is currently in terminated state. |
| kube_pod_init_container_status_waiting | gauge | [STABLE] Describes whether the init container is currently in waiting state. |
| kube_pod_init_container_status_waiting_reason | gauge | Describes the reason the init container is currently in waiting state. |
| kube_pod_ips | gauge | Pod IP addresses |
| kube_pod_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_pod_overhead_cpu_cores | gauge | The pod overhead in regards to cpu cores associated with running a pod. |
| kube_pod_overhead_memory_bytes | gauge | The pod overhead in regards to memory associated with running a pod. |
| kube_pod_owner | gauge | [STABLE] Information about the Pod's owner. |
| kube_pod_restart_policy | gauge | [STABLE] Describes the restart policy in use by this pod. |
| kube_pod_runtimeclass_name_info | gauge | The runtimeclass associated with the pod. |
| kube_pod_scheduler | gauge | The scheduler for a pod. |
| kube_pod_service_account | gauge | The service account for a pod. |
| kube_pod_spec_volumes_persistentvolumeclaims_info | gauge | [STABLE] Information about persistentvolumeclaim volumes in a pod. |
| kube_pod_spec_volumes_persistentvolumeclaims_readonly | gauge | [STABLE] Describes whether a persistentvolumeclaim is mounted read only. |
| kube_pod_start_time | gauge | [STABLE] Start time in unix timestamp for a pod. |
| kube_pod_status_container_ready_time | gauge | Readiness achieved time in unix timestamp for a pod containers. |
| kube_pod_status_initialized_time | gauge | Initialized time in unix timestamp for a pod. |
| kube_pod_status_phase | gauge | [STABLE] The pods current phase. |
| kube_pod_status_qos_class | gauge | The pods current qosClass. |
| kube_pod_status_ready | gauge | [STABLE] Describes whether the pod is ready to serve requests. |
| kube_pod_status_ready_time | gauge | Readiness achieved time in unix timestamp for a pod. |
| kube_pod_status_reason | gauge | The pod status reasons |
| kube_pod_status_scheduled | gauge | [STABLE] Describes the status of the scheduling process for the pod. |
| kube_pod_status_scheduled_time | gauge | [STABLE] Unix timestamp when pod moved into scheduled status |
| kube_pod_status_unschedulable | gauge | [STABLE] Describes the unschedulable status for the pod. |
| kube_pod_tolerations | gauge | Information about the pod tolerations |
| kube_replicaset_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_replicaset_created | gauge | [STABLE] Unix creation timestamp |
| kube_replicaset_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_replicaset_metadata_generation | gauge | [STABLE] Sequence number representing a specific generation of the desired state. |
| kube_replicaset_owner | gauge | [STABLE] Information about the ReplicaSet's owner. |
| kube_replicaset_spec_replicas | gauge | [STABLE] Number of desired pods for a ReplicaSet. |
| kube_replicaset_status_fully_labeled_replicas | gauge | [STABLE] The number of fully labeled replicas per ReplicaSet. |
| kube_replicaset_status_observed_generation | gauge | [STABLE] The generation observed by the ReplicaSet controller. |
| kube_replicaset_status_ready_replicas | gauge | [STABLE] The number of ready replicas per ReplicaSet. |
| kube_replicaset_status_replicas | gauge | [STABLE] The number of replicas per ReplicaSet. |
| kube_secret_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_secret_created | gauge | [STABLE] Unix creation timestamp |
| kube_secret_info | gauge | [STABLE] Information about secret. |
| kube_secret_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_secret_metadata_resource_version | gauge | Resource version representing a specific version of secret. |
| kube_secret_owner | gauge | Information about the Secret's owner. |
| kube_secret_type | gauge | [STABLE] Type about secret. |
| kube_service_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_service_created | gauge | [STABLE] Unix creation timestamp |
| kube_service_info | gauge | [STABLE] Information about service. |
| kube_service_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_service_spec_external_ip | gauge | [STABLE] Service external ips. One series for each ip |
| kube_service_spec_type | gauge | [STABLE] Type about service. |
| kube_service_status_load_balancer_ingress | gauge | [STABLE] Service load balancer ingress status |
| kube_statefulset_annotations | gauge | Kubernetes annotations converted to Prometheus labels. |
| kube_statefulset_created | gauge | [STABLE] Unix creation timestamp |
| kube_statefulset_labels | gauge | [STABLE] Kubernetes labels converted to Prometheus labels. |
| kube_statefulset_metadata_generation | gauge | [STABLE] Sequence number representing a specific generation of the desired state for the StatefulSet. |
| kube_statefulset_ordinals_start | gauge | [STABLE] Start ordinal of the StatefulSet. |
| kube_statefulset_persistentvolumeclaim_retention_policy | gauge | Count of retention policy for StatefulSet template PVCs |
| kube_statefulset_replicas | gauge | [STABLE] Number of desired pods for a StatefulSet. |
| kube_statefulset_status_current_revision | gauge | [STABLE] Indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). |
| kube_statefulset_status_observed_generation | gauge | [STABLE] The generation observed by the StatefulSet controller. |
| kube_statefulset_status_replicas | gauge | [STABLE] The number of replicas per StatefulSet. |
| kube_statefulset_status_replicas_available | gauge | The number of available replicas per StatefulSet. |
| kube_statefulset_status_replicas_current | gauge | [STABLE] The number of current replicas per StatefulSet. |
| kube_statefulset_status_replicas_ready | gauge | [STABLE] The number of ready replicas per StatefulSet. |
| kube_statefulset_status_replicas_updated | gauge | [STABLE] The number of updated replicas per StatefulSet. |
| kube_statefulset_status_update_revision | gauge | [STABLE] Indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) |
| kube_validatingwebhookconfiguration_created | gauge | Unix creation timestamp. |
| kube_validatingwebhookconfiguration_info | gauge | Information about the ValidatingWebhookConfiguration. |
| kube_validatingwebhookconfiguration_metadata_resource_version | gauge | Resource version representing a specific version of the ValidatingWebhookConfiguration. |
| kube_validatingwebhookconfiguration_webhook_clientconfig_service | gauge | Service used by the apiserver to connect to a validating webhook. |