Skip to content

Latest commit

 

History

History
21 lines (20 loc) · 3 KB

pod-metrics.md

File metadata and controls

21 lines (20 loc) · 3 KB

Pod Metrics

Metric name Metric type Labels/tags
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>
kube_pod_start_time Gauge pod=<pod-name>
namespace=<pod-namespace>
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>
kube_pod_labels Gauge pod=<pod-name>
namespace=<pod-namespace>
label_POD_LABEL=<POD_LABEL>
kube_pod_status_phase Gauge pod=<pod-name>
namespace=<pod-namespace>
phase=<Pending|Running|Succeeded|Failed|Unknown>
kube_pod_status_ready Gauge pod=<pod-name>
namespace=<pod-namespace>
condition=<true|false|unknown>
kube_pod_status_scheduled Gauge pod=<pod-name>
namespace=<pod-namespace>
condition=<true|false|unknown>
kube_pod_container_info Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
image=<image-name>
image_id=<image-id>
container_id=<containerid>
kube_pod_container_status_waiting Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
kube_pod_container_status_running Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
kube_pod_container_status_terminated Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
kube_pod_container_status_ready Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
kube_pod_container_status_restarts Counter container=<container-name>
namespace=<pod-namespace>
pod=<pod-name>
kube_pod_container_resource_requests_cpu_cores Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
node=< node-name>
kube_pod_container_resource_requests_memory_bytes Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
node=< node-name>
kube_pod_container_resource_limits_cpu_cores Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
node=< node-name>
kube_pod_container_resource_limits_memory_bytes Gauge container=<container-name>
pod=<pod-name>
namespace=<pod-namespace>
node=< node-name>