Skip to content

Latest commit

 

History

History
30 lines (29 loc) · 4.95 KB

pod-metrics.md

File metadata and controls

30 lines (29 loc) · 4.95 KB

Pod Metrics

Metric name Metric type Labels/tags Status
kube_pod_info Gauge pod=<pod-name>
namespace=<pod-namespace>
host_ip=<host-ip>
pod_ip=<pod-ip>
node=<node-name>
created_by_kind=<created_by_kind>
created_by_name=<created_by_name>
STABLE
kube_pod_start_time Gauge pod=<pod-name>
namespace=<pod-namespace>
kube_pod_completion_time Gauge pod=<pod-name>
namespace=<pod-namespace>
STABLE
kube_pod_owner Gauge pod=<pod-name>
namespace=<pod-namespace>
owner_kind=<owner kind>
owner_name=<owner name>
owner_is_controller=<whether owner is controller>
STABLE
kube_pod_labels Gauge pod=<pod-name>
namespace=<pod-namespace>
label_POD_LABEL=<POD_LABEL>
STABLE
kube_pod_status_phase Gauge pod=<pod-name>
namespace=<pod-namespace>
phase=<Pending|Running|Succeeded|Failed|Unknown>
STABLE
kube_pod_status_ready Gauge pod=<pod-name>
namespace=<pod-namespace>
condition=<true|false|unknown>
STABLE
kube_pod_status_scheduled Gauge pod=<pod-name>
namespace=<pod-namespace>
condition=<true|false|unknown>
STABLE
kube_pod_container_info Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
image=<image-name>
image_id=<image-id>
container_id=<containerid>
STABLE
kube_pod_container_status_waiting Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
STABLE
kube_pod_container_status_waiting_reason Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
reason=<ContainerCreating|CrashLoopBackOff|ErrImagePull|ImagePullBackOff>
STABLE
kube_pod_container_status_running Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
STABLE
kube_pod_container_status_terminated Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
STABLE
kube_pod_container_status_terminated_reason Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
reason=<OOMKilled|Error|Completed|ContainerCannotRun>
STABLE
kube_pod_container_status_ready Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
STABLE
kube_pod_container_status_restarts_total Counter container=<container-name>
namespace=<pod-namespace>
pod=<pod-name>
STABLE
kube_pod_container_resource_requests_cpu_cores Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
node=< node-name>
STABLE
kube_pod_container_resource_requests Gauge resource=<resource-name>
unit=<resource-unit>
container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
node=< node-name>
STABLE
kube_pod_container_resource_requests_memory_bytes Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
node=< node-name>
STABLE
kube_pod_container_resource_limits_cpu_cores Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
node=< node-name>
STABLE
kube_pod_container_resource_limits Gauge resource=<resource-name>
unit=<resource-unit>
container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
node=< node-name>
STABLE
kube_pod_container_resource_limits_memory_bytes Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
node=< node-name>
STABLE
kube_pod_created Gauge pod=<pod-name>
namespace=<pod-namespace>
kube_pod_spec_volumes_persistentvolumeclaims_info Gauge pod=<pod-name>
namespace=<pod-namespace>
volume=<volume-name>
persistentvolumeclaim=<persistentvolumeclaim-claimname>
STABLE
kube_pod_spec_volumes_persistentvolumeclaims_readonly Gauge pod=<pod-name>
namespace=<pod-namespace>
volume=<volume-name>
persistentvolumeclaim=<persistentvolumeclaim-claimname>
STABLE
kube_pod_status_scheduled_time Gauge pod=<pod-name>
namespace=<pod-namespace>
STABLE