Skip to main content

Kubernetes metrics

Show metrics regarding the Kubernetes resources such as pods and deployments

Metric nameTypeDescription
kube_configmap_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_configmap_createdgauge[STABLE] Unix creation timestamp
kube_configmap_infogauge[STABLE] Information about configmap.
kube_configmap_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_configmap_metadata_resource_versiongaugeResource version representing a specific version of the configmap.
kube_daemonset_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_daemonset_createdgauge[STABLE] Unix creation timestamp
kube_daemonset_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_daemonset_metadata_generationgauge[STABLE] Sequence number representing a specific generation of the desired state.
kube_daemonset_status_current_number_scheduledgauge[STABLE] The number of nodes running at least one daemon pod and are supposed to.
kube_daemonset_status_desired_number_scheduledgauge[STABLE] The number of nodes that should be running the daemon pod.
kube_daemonset_status_number_availablegauge[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_misscheduledgauge[STABLE] The number of nodes running a daemon pod but are not supposed to.
kube_daemonset_status_number_readygauge[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_unavailablegauge[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_generationgauge[STABLE] The most recent generation observed by the daemon set controller.
kube_daemonset_status_updated_number_scheduledgauge[STABLE] The total number of nodes that are running updated daemon pod
kube_deployment_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_deployment_createdgauge[STABLE] Unix creation timestamp
kube_deployment_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_deployment_metadata_generationgauge[STABLE] Sequence number representing a specific generation of the desired state.
kube_deployment_spec_pausedgauge[STABLE] Whether the deployment is paused and will not be processed by the deployment controller.
kube_deployment_spec_replicasgauge[STABLE] Number of desired pods for a deployment.
kube_deployment_spec_strategy_rollingupdate_max_surgegauge[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_unavailablegauge[STABLE] Maximum number of unavailable replicas during a rolling update of a deployment.
kube_deployment_status_conditiongauge[STABLE] The current status conditions of a deployment.
kube_deployment_status_observed_generationgauge[STABLE] The generation observed by the deployment controller.
kube_deployment_status_replicasgauge[STABLE] The number of replicas per deployment.
kube_deployment_status_replicas_availablegauge[STABLE] The number of available replicas per deployment.
kube_deployment_status_replicas_readygauge[STABLE] The number of ready replicas per deployment.
kube_deployment_status_replicas_unavailablegauge[STABLE] The number of unavailable replicas per deployment.
kube_deployment_status_replicas_updatedgauge[STABLE] The number of updated replicas per deployment.
kube_endpoint_addressgauge[STABLE] Information about Endpoint available and non available addresses.
kube_endpoint_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_endpoint_createdgauge[STABLE] Unix creation timestamp
kube_endpoint_infogauge[STABLE] Information about endpoint.
kube_endpoint_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_endpoint_portsgauge[STABLE] (Deprecated since v2.14.0) Information about the Endpoint ports.
kube_ingress_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_ingress_createdgauge[STABLE] Unix creation timestamp
kube_ingress_infogauge[STABLE] Information about ingress.
kube_ingress_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_ingress_metadata_resource_versiongaugeResource version representing a specific version of ingress.
kube_ingress_pathgauge[STABLE] Ingress host, paths and backend service information.
kube_ingress_tlsgauge[STABLE] Ingress TLS host and secret information.
kube_lease_ownergaugeInformation about the Lease's owner.
kube_lease_renew_timegaugeKube lease renew time.
kube_mutatingwebhookconfiguration_createdgaugeUnix creation timestamp.
kube_mutatingwebhookconfiguration_infogaugeInformation about the MutatingWebhookConfiguration.
kube_mutatingwebhookconfiguration_metadata_resource_versiongaugeResource version representing a specific version of the MutatingWebhookConfiguration.
kube_mutatingwebhookconfiguration_webhook_clientconfig_servicegaugeService used by the apiserver to connect to a mutating webhook.
kube_namespace_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_namespace_createdgauge[STABLE] Unix creation timestamp
kube_namespace_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_namespace_status_conditiongaugeThe condition of a namespace.
kube_namespace_status_phasegauge[STABLE] kubernetes namespace status phase.
kube_node_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_node_createdgauge[STABLE] Unix creation timestamp
kube_node_deletion_timestampgaugeUnix deletion timestamp
kube_node_infogauge[STABLE] Information about a cluster node.
kube_node_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_node_rolegaugeThe role of a cluster node.
kube_node_spec_taintgauge[STABLE] The taint of a cluster node.
kube_node_spec_unschedulablegauge[STABLE] Whether a node can schedule new pods.
kube_node_status_addressesgaugeNode address information.
kube_node_status_allocatablegauge[STABLE] The allocatable for different resources of a node that are available for scheduling.
kube_node_status_capacitygauge[STABLE] The capacity for different resources of a node.
kube_node_status_conditiongauge[STABLE] The condition of a cluster node.
kube_pod_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_pod_completion_timegauge[STABLE] Completion time in unix timestamp for a pod.
kube_pod_container_infogauge[STABLE] Information about a container in a pod.
kube_pod_container_resource_limitsgaugeThe 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_requestsgaugeThe 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_startedgauge[STABLE] Start time in unix timestamp for a pod container.
kube_pod_container_status_last_terminated_exitcodegaugeDescribes the exit code for the last container in terminated state.
kube_pod_container_status_last_terminated_reasongaugeDescribes the last reason the container was in terminated state.
kube_pod_container_status_last_terminated_timestampgaugeLast terminated time for a pod container in unix timestamp.
kube_pod_container_status_readygauge[STABLE] Describes whether the containers readiness check succeeded.
kube_pod_container_status_restarts_totalcounter[STABLE] The number of container restarts per container.
kube_pod_container_status_runninggauge[STABLE] Describes whether the container is currently in running state.
kube_pod_container_status_terminatedgauge[STABLE] Describes whether the container is currently in terminated state.
kube_pod_container_status_terminated_reasongaugeDescribes the reason the container is currently in terminated state.
kube_pod_container_status_waitinggauge[STABLE] Describes whether the container is currently in waiting state.
kube_pod_container_status_waiting_reasongauge[STABLE] Describes the reason the container is currently in waiting state.
kube_pod_createdgauge[STABLE] Unix creation timestamp
kube_pod_deletion_timestampgaugeUnix deletion timestamp
kube_pod_infogauge[STABLE] Information about pod.
kube_pod_init_container_infogauge[STABLE] Information about an init container in a pod.
kube_pod_init_container_resource_limitsgaugeThe number of requested limit resource by an init container.
kube_pod_init_container_resource_requestsgaugeThe number of requested request resource by an init container.
kube_pod_init_container_status_last_terminated_reasongaugeDescribes the last reason the init container was in terminated state.
kube_pod_init_container_status_readygauge[STABLE] Describes whether the init containers readiness check succeeded.
kube_pod_init_container_status_restarts_totalcounter[STABLE] The number of restarts for the init container.
kube_pod_init_container_status_runninggauge[STABLE] Describes whether the init container is currently in running state.
kube_pod_init_container_status_terminatedgauge[STABLE] Describes whether the init container is currently in terminated state.
kube_pod_init_container_status_terminated_reasongaugeDescribes the reason the init container is currently in terminated state.
kube_pod_init_container_status_waitinggauge[STABLE] Describes whether the init container is currently in waiting state.
kube_pod_init_container_status_waiting_reasongaugeDescribes the reason the init container is currently in waiting state.
kube_pod_ipsgaugePod IP addresses
kube_pod_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_pod_overhead_cpu_coresgaugeThe pod overhead in regards to cpu cores associated with running a pod.
kube_pod_overhead_memory_bytesgaugeThe pod overhead in regards to memory associated with running a pod.
kube_pod_ownergauge[STABLE] Information about the Pod's owner.
kube_pod_restart_policygauge[STABLE] Describes the restart policy in use by this pod.
kube_pod_runtimeclass_name_infogaugeThe runtimeclass associated with the pod.
kube_pod_schedulergaugeThe scheduler for a pod.
kube_pod_service_accountgaugeThe service account for a pod.
kube_pod_spec_volumes_persistentvolumeclaims_infogauge[STABLE] Information about persistentvolumeclaim volumes in a pod.
kube_pod_spec_volumes_persistentvolumeclaims_readonlygauge[STABLE] Describes whether a persistentvolumeclaim is mounted read only.
kube_pod_start_timegauge[STABLE] Start time in unix timestamp for a pod.
kube_pod_status_container_ready_timegaugeReadiness achieved time in unix timestamp for a pod containers.
kube_pod_status_initialized_timegaugeInitialized time in unix timestamp for a pod.
kube_pod_status_phasegauge[STABLE] The pods current phase.
kube_pod_status_qos_classgaugeThe pods current qosClass.
kube_pod_status_readygauge[STABLE] Describes whether the pod is ready to serve requests.
kube_pod_status_ready_timegaugeReadiness achieved time in unix timestamp for a pod.
kube_pod_status_reasongaugeThe pod status reasons
kube_pod_status_scheduledgauge[STABLE] Describes the status of the scheduling process for the pod.
kube_pod_status_scheduled_timegauge[STABLE] Unix timestamp when pod moved into scheduled status
kube_pod_status_unschedulablegauge[STABLE] Describes the unschedulable status for the pod.
kube_pod_tolerationsgaugeInformation about the pod tolerations
kube_replicaset_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_replicaset_createdgauge[STABLE] Unix creation timestamp
kube_replicaset_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_replicaset_metadata_generationgauge[STABLE] Sequence number representing a specific generation of the desired state.
kube_replicaset_ownergauge[STABLE] Information about the ReplicaSet's owner.
kube_replicaset_spec_replicasgauge[STABLE] Number of desired pods for a ReplicaSet.
kube_replicaset_status_fully_labeled_replicasgauge[STABLE] The number of fully labeled replicas per ReplicaSet.
kube_replicaset_status_observed_generationgauge[STABLE] The generation observed by the ReplicaSet controller.
kube_replicaset_status_ready_replicasgauge[STABLE] The number of ready replicas per ReplicaSet.
kube_replicaset_status_replicasgauge[STABLE] The number of replicas per ReplicaSet.
kube_secret_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_secret_createdgauge[STABLE] Unix creation timestamp
kube_secret_infogauge[STABLE] Information about secret.
kube_secret_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_secret_metadata_resource_versiongaugeResource version representing a specific version of secret.
kube_secret_ownergaugeInformation about the Secret's owner.
kube_secret_typegauge[STABLE] Type about secret.
kube_service_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_service_createdgauge[STABLE] Unix creation timestamp
kube_service_infogauge[STABLE] Information about service.
kube_service_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_service_spec_external_ipgauge[STABLE] Service external ips. One series for each ip
kube_service_spec_typegauge[STABLE] Type about service.
kube_service_status_load_balancer_ingressgauge[STABLE] Service load balancer ingress status
kube_statefulset_annotationsgaugeKubernetes annotations converted to Prometheus labels.
kube_statefulset_createdgauge[STABLE] Unix creation timestamp
kube_statefulset_labelsgauge[STABLE] Kubernetes labels converted to Prometheus labels.
kube_statefulset_metadata_generationgauge[STABLE] Sequence number representing a specific generation of the desired state for the StatefulSet.
kube_statefulset_ordinals_startgauge[STABLE] Start ordinal of the StatefulSet.
kube_statefulset_persistentvolumeclaim_retention_policygaugeCount of retention policy for StatefulSet template PVCs
kube_statefulset_replicasgauge[STABLE] Number of desired pods for a StatefulSet.
kube_statefulset_status_current_revisiongauge[STABLE] Indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
kube_statefulset_status_observed_generationgauge[STABLE] The generation observed by the StatefulSet controller.
kube_statefulset_status_replicasgauge[STABLE] The number of replicas per StatefulSet.
kube_statefulset_status_replicas_availablegaugeThe number of available replicas per StatefulSet.
kube_statefulset_status_replicas_currentgauge[STABLE] The number of current replicas per StatefulSet.
kube_statefulset_status_replicas_readygauge[STABLE] The number of ready replicas per StatefulSet.
kube_statefulset_status_replicas_updatedgauge[STABLE] The number of updated replicas per StatefulSet.
kube_statefulset_status_update_revisiongauge[STABLE] Indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
kube_validatingwebhookconfiguration_createdgaugeUnix creation timestamp.
kube_validatingwebhookconfiguration_infogaugeInformation about the ValidatingWebhookConfiguration.
kube_validatingwebhookconfiguration_metadata_resource_versiongaugeResource version representing a specific version of the ValidatingWebhookConfiguration.
kube_validatingwebhookconfiguration_webhook_clientconfig_servicegaugeService used by the apiserver to connect to a validating webhook.