Metrics (Kubernetes)

The Management Pack for Kubernetes collects the metrics, properties, and/or identifiers listed in the tables below, according to resource kind.

Kubernetes Cluster

Metrics

CategoryKeyLabelData TypeUnitsDescription
Node PerformanceactivenodesaveragecpuusageAverage CPU UsageFloatNanocoresThe current average CPU usage per node in this Kubernetes Cluster.
Node PerformanceactivenodesaveragefilesystemspaceAverage Filesystem SpaceFloatBytesThe average filesystem space per node in this Kubernetes Cluster.
Node PerformanceactivenodesaveragefilesystemusedAverage Filesystem UsedFloatBytesThe average used filesystem space per node in this Kubernetes Cluster.
Node PerformanceactivenodesaveragememoryusageAverage Memory UsageFloatBytesThe current average memory usage per node in this Kubernetes Cluster.
Node PerformanceactivenodestotalcpucapacityTotal CPU CapacityIntegerNanocoresThe total CPU capacity over all nodes in this Kubernetes Cluster.
Node PerformanceactivenodestotalcpuusageTotal CPU UsageIntegerNanocoresThe current CPU usage over all nodes in this Kubernetes Cluster.
Node Performanceactivenodestotalcpuusage_ratioTotal CPU UsageFloat%The current CPU usage over all nodes in this Kubernetes Cluster.
Node PerformanceactivenodestotalfilesystemspaceTotal Filesystem SpaceIntegerBytesThe total filesystem space over all nodes in this Kubernetes Cluster.
Node Performanceactivenodestotalfilesystemusage_ratioTotal Filesystem UsageFloat%The current filesystem usage over all nodes in this Kubernetes Cluster.
Node PerformanceactivenodestotalfilesystemusedTotal Filesystem UsedIntegerBytesThe total used filesystem space over all nodes in this Kubernetes Cluster.
Node Performanceactivenodestotal_memoryTotal MemoryIntegerBytesThe total memory capacity over all nodes in this Kubernetes Cluster.
Node PerformanceactivenodestotalmemoryusageTotal Memory UsageIntegerBytesThe current memory usage over all nodes in this Kubernetes Cluster.
Node Performanceactivenodestotalmemoryusage_ratioTotal Memory UsageFloat%The current memory usage over all nodes in this Kubernetes Cluster.
Node PerformanceactivenodestotalreceiveddataTotal Received DataCounterBytesThe total received data over all nodes in this Kubernetes Cluster.
Node PerformanceactivenodestotaltransmitteddataTotal Transmitted DataCounterBytesThe total transmitted data over all nodes in this Kubernetes Cluster.
Pod SummaryfailedpodcountFailed Pod CountIntegerUnitlessThe current number of pods in this Kubernetes Cluster in a Failed phase.
Node Summarynode_countNode CountIntegerUnitlessThe current number of nodes in this Kubernetes Cluster.
Node Summarynotreadynode_countNot Ready Node CountIntegerUnitlessThe current number of nodes in this Kubernetes Cluster in a Not Ready condition.
Pod Summarynotreadypod_countNot Ready Pod CountIntegerUnitlessThe current number of pods in this Kubernetes Cluster in a Not Ready condition.
Pod SummarypendingpodcountPending Pod CountIntegerUnitlessThe current number of pods in this Kubernetes Cluster in a Pending phase.
Pod Summarypod_capacityPod CapacityIntegerUnitlessThe total pod capacity of this Kubernetes Cluster.
Pod Summarypod_countPod CountIntegerUnitlessThe current number of pods in this Kubernetes Cluster.
Node SummaryreadynodecountReady Node CountIntegerUnitlessThe current number of nodes in this Kubernetes Cluster in a Ready condition.
Pod SummaryreadypodcountReady Pod CountIntegerUnitlessThe current number of pods in this Kubernetes Cluster in a Ready condition.
Pod SummaryrunningnotreadypodcountRunning Not Ready Pod CountIntegerUnitlessThe current number of pods in this Kubernetes Cluster in a Running phase, but not a Ready condition.
Pod SummaryrunningpodcountRunning Pod CountIntegerUnitlessThe current number of pods in this Kubernetes Cluster in a Running phase.
Pod SummarysucceededpodcountSucceeded Pod CountIntegerUnitlessThe current number of pods in this Kubernetes Cluster in a Succeeded phase.
Node SummaryunknownnodecountUnknown Node CountIntegerUnitlessThe current number of nodes in this Kubernetes Cluster in an Unknown condition.
Pod SummaryunknownpodcountUnknown Pod CountIntegerUnitlessThe current number of pods in this Kubernetes Cluster in an Unknown condition.

Kubernetes Container

Identifiers

CategoryKeyLabelData TypeUnitsDescription
UncategorizednameNameStringUnitlessName of the Container.
Uncategorizedpod_namePod NameStringUnitlessName of the Pod the Container is running on.
Uncategorizedpod_namespaceNamespaceStringUnitlessNamespace of the Pod the Container is running on.

Metrics

CategoryKeyLabelData TypeUnitsDescription
Filesystemavailable_spaceAvailable SpaceIntegerBytesThe storage space available for the filesystem.
CPUcpu_limitCPU LimitIntegerNanocoresThe maximum CPU usage this container is allowed to consume.
CPUcpulimitusage_ratioCPU Limit UsageFloat%The total CPU Usage in proportion to the CPU Limit.
CPUcpu_requestCPU RequestIntegerNanocoresThe minimum CPU usage this container requires for it to be scheduled.
CPUcpurequestusage_ratioCPU Request UsageFloat%The total CPU Usage in proportion to the CPU Request.
CPUcpu_timeCPU TimeCounterNanosecondsCumulative CPU time (sum of all cores) since object creation.
CPUcpu_usageCPU UsageIntegerNanocoresTotal CPU usage (sum of all cores) averaged over the sample window.
Filesystemfree_inodesFree inodesIntegerUnitlessThe number of free inodes in the filesystem.
MemorymajorpagefaultsMajor Page FaultsCounterUnitlessCumulative number of major page faults.
Memorymemory_limitMemory LimitIntegerBytesThe maximum Memory usage this container is allowed to consume.
Memorymemorylimitusage_ratioMemory Limit UsageFloat%The total Memory Usage in proportion to the Memory Limit.
Memorymemory_requestMemory RequestIntegerBytesThe minimum memory this container requires for it to be scheduled.
Memorymemoryrequestusage_ratioMemory Request UsageFloat%The total Memory Usage in proportion to the Memory Request.
Memorymemory_usageMemory UsageIntegerBytesTotal memory in use. This includes all memory regardless of when it was accessed.
MemoryminorpagefaultsMinor Page FaultsCounterUnitlessCumulative number of minor page faults.
StatusreadyReadyBooleanUnitlessThe Container is Ready when it is ready to start accepting traffic.
Statusrestart_countRestart CountIntegerUnitlessThe number of times this container has restarted.
Memoryrss_usageRSS UsageIntegerBytesThe amount of anonymous and swap cache memory (includes transparent hugepages).
Filesystemtotal_inodesTotal inodesIntegerUnitlessThe total number of inodes in the filesystem.
Filesystemtotal_spaceTotal SpaceIntegerBytesThe total capacity of the filesystems underlying storage.
Filesystemused_inodesUsed inodesIntegerUnitlessThe number of inodes used by the filesystem.
Filesystemused_spaceUsed SpaceIntegerBytesThe storage space used on the filesystem.
FilesystemusedspaceratioUsed SpaceFloat%The storage space used on the filesystem.
MemoryworkingsetusageWorking Set UsageIntegerBytesThe amount of working set memory. This includes recently accessed memory, dirty memory, and kernel memory.

Properties

CategoryKeyLabelData TypeUnitsDescription
DetailsimageImageStringUnitlessThe Image name of this container.
Statusstart_timeStart TimeStringUnitlessThe time that this container started running.

Kubernetes Namespace

Identifiers

CategoryKeyLabelData TypeUnitsDescription
UncategorizednameNameStringUnitlessName of the Namespace.

Metrics

CategoryKeyLabelData TypeUnitsDescription
Pod PerformanceactivepodsaveragecpuusageAverage CPU UsageFloatNanocoresThe current average CPU usage per pod in this Namespace.
Pod PerformanceactivepodsaveragememoryusageAverage Memory UsageFloatBytesThe current average memory usage per pod in this Namespace.
Pod PerformanceactivepodstotalcpuusageTotal CPU UsageIntegerNanocoresThe current CPU usage over all pods in this Namespace.
Pod PerformanceactivepodstotalmemoryusageTotal Memory UsageIntegerBytesThe current memory usage over all pods in this Namespace.
Pod SummaryfailedpodcountFailed Pod CountIntegerUnitlessThe current number of pods hosted by this Namespace in a Failed phase.
Pod Summarynotreadypod_countNot Ready Pod CountIntegerUnitlessThe current number of pods hosted by this Namespace in a Not Ready condition.
Pod SummarypendingpodcountPending Pod CountIntegerUnitlessThe current number of pods hosted by this Namespace in a Pending phase.
StatusphasePhaseStringUnitlessCurrent condition of the Namespace.
Pod Summarypod_countPod CountIntegerUnitlessThe current number of pods hosted by this Namespace.
Pod SummaryreadypodcountReady Pod CountIntegerUnitlessThe current number of pods hosted by this Namespace in a Ready condition.
Pod SummaryrunningnotreadypodcountRunning Not Ready Pod CountIntegerUnitlessThe current number of pods hosted by this Namespace in a Running phase, but not a Ready condition.
Pod SummaryrunningpodcountRunning Pod CountIntegerUnitlessThe current number of pods hosted by this Namespace in a Running phase.
Pod SummarysucceededpodcountSucceeded Pod CountIntegerUnitlessThe current number of pods hosted by this Namespace in a Succeeded phase.
Pod SummaryunknownpodcountUnknown Pod CountIntegerUnitlessThe current number of pods hosted by this Namespace in an Unknown condition.

Kubernetes Node

Identifiers

CategoryKeyLabelData TypeUnitsDescription
UncategorizeduidUIDStringUnitlessUID of the Node.

Metrics

CategoryKeyLabelData TypeUnitsDescription
CPUallocatable_cpuAllocatable CPUIntegerNanocoresThe amount of memory on the Node available for scheduling.
Memoryallocatable_memoryAllocatable MemoryIntegerBytesThe amount of memory on the Node available for scheduling.
Pod Summaryallocatable_podsAllocatable PodsIntegerUnitlessThe number of pods available for scheduling.
Memoryavailable_memoryAvailable MemoryIntegerBytesAvailable memory for use. This is defined as (Total Memory - Working Set Usage).
Filesystemavailable_spaceAvailable SpaceIntegerBytesThe storage space available for the filesystem.
CPUcontainerscpulimitContainers CPU LimitIntegerNanocoresThe maximum CPU usage the containers on this node are allowed to consume.
CPUcontainerscpurequestContainers CPU RequestIntegerNanocoresThe minimum CPU usage required by the containers on this node.
MemorycontainersmemorylimitContainers Memory LimitIntegerBytesThe maximum Memory usage the containers on this node are allowed to consume.
MemorycontainersmemoryrequestContainers Memory RequestIntegerBytesThe minimum memory required by the containers on this node.
CPUcpu_capacityCPU CapacityIntegerNanocoresTotal CPU capacity of the Node.
CPUcpu_timeCPU TimeCounterNanosecondsCumulative CPU time (sum of all cores) since object creation.
CPUcpu_usageCPU UsageIntegerNanocoresTotal CPU usage (sum of all cores) averaged over the sample window.
CPUcpuusageratioCPU UsageFloat%Total CPU usage (sum of all cores) averaged over the sample window.
Pod SummaryfailedpodcountFailed Pod CountIntegerUnitlessThe current number of pods hosted by this Node in a Failed phase.
Pod SummaryfiveminuteevictionsFive Minute EvictionsIntegerUnitlessThe number of Pods evicted from this node in the last five minutes.
Filesystemfree_inodesFree inodesIntegerUnitlessThe number of free inodes in the filesystem.
MemorymajorpagefaultsMajor Page FaultsCounterUnitlessCumulative number of major page faults.
Memorymemory_usageMemory UsageIntegerBytesTotal memory in use. This includes all memory regardless of when it was accessed.
MemorymemoryusageratioMemory UsageFloat%Total memory in use. This includes all memory regardless of when it was accessed.
MemoryminorpagefaultsMinor Page FaultsCounterUnitlessCumulative number of minor page faults.
Pod Summarynotreadypod_countNot Ready Pod CountIntegerUnitlessThe current number of pods hosted by this Node in a Not Ready condition.
Pod SummarypendingpodcountPending Pod CountIntegerUnitlessThe current number of pods hosted by this Node in a Pending phase.
Pod Summarypod_capacityPod CapacityIntegerUnitlessTotal pod capacity of the Node.
Pod Summarypod_countPod CountIntegerUnitlessThe current number of pods hosted by this Node.
StatusreadyReadyStringUnitlessTrue if the node is healthy and ready to accept pods, False if the node is not healthy and is not accepting pods, and Unknown if the node controller has not heard from the node in the last 40 seconds
Pod SummaryreadypodcountReady Pod CountIntegerUnitlessThe current number of pods hosted by this Node in a Ready condition.
Networkreceive_errorsReceive ErrorsCounterErrorsCumulative count of receive errors encountered.
Networkreceived_dataReceived DataCounterBytesCumulative amount of data received.
Memoryrss_usageRSS UsageIntegerBytesThe amount of anonymous and swap cache memory (includes transparent hugepages).
Pod SummaryrunningnotreadypodcountRunning Not Ready Pod CountIntegerUnitlessThe current number of pods hosted by this Node in a Running phase, but not a Ready condition.
Pod SummaryrunningpodcountRunning Pod CountIntegerUnitlessThe current number of pods hosted by this Node in a Running phase.
Pod SummarysucceededpodcountSucceeded Pod CountIntegerUnitlessThe current number of pods hosted by this Node in a Succeeded phase.
Filesystemtotal_inodesTotal inodesIntegerUnitlessThe total number of inodes in the filesystem.
Memorytotal_memoryTotal MemoryIntegerBytesTotal memory capacity of the Node.
Filesystemtotal_spaceTotal SpaceIntegerBytesThe total capacity of the filesystems underlying storage.
Networktransmit_errorsTransmit ErrorsCounterErrorsCumulative count of transmit errors encountered.
Networktransmitted_dataTransmitted DataCounterBytesCumulative amount of data transmitted.
Pod SummaryunknownpodcountUnknown Pod CountIntegerUnitlessThe current number of pods hosted by this Node in an Unknown condition.
Filesystemused_inodesUsed inodesIntegerUnitlessThe number of inodes used by the filesystem.
Filesystemused_spaceUsed SpaceIntegerBytesThe storage space used on the filesystem.
FilesystemusedspaceratioUsed SpaceFloat%The storage space used on the filesystem.
MemoryworkingsetusageWorking Set UsageIntegerBytesThe amount of working set memory. This includes recently accessed memory, dirty memory, and kernel memory.

Properties

CategoryKeyLabelData TypeUnitsDescription
DetailsarchitectureArchitectureStringUnitlessThe Architecture reported by the Node.
DetailscontainerruntimeversionContainer Runtime VersionStringUnitlessContainerRuntime Version reported by the Node through runtime remote API.
Detailscreation_timestampCreation TimestampStringUnitlessA timestamp representing the server time when Node object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value.
Detailsexternal_idExternal IDStringUnitlessExternal ID of the Node assigned by some machine database (e.g. a cloud provider).
Detailsexternal_ipExternal IPStringUnitlessThe external IP address of the Node.
DetailshostnameHostnameStringUnitlessThe hostname of the Node.
Detailsinternal_ipInternal IPStringUnitlessThe internal IP address of the Node.
Detailsis_masterMasterBooleanUnitlessIndicates if the Node is hosting master components (kube-apiserver, kube-controller-manager, kube-scheduler).
Detailskernel_versionKernel VersionStringUnitlessKernel Version reported by the Node from 'uname -r'.
Detailskubelet_versionKubelet VersionStringUnitlessKubelet Version reported by the Node.
Detailskubeproxy_versionKubeProxy VersionStringUnitlessKubeProxy Version reported by the Node.
Detailsmachine_idMachine IDStringUnitlessMachineID reported by the Node. For unique machine identification in the cluster this field is preferred.
Detailsoperating_systemOperating SystemStringUnitlessThe Operating System reported by the Node.
Detailsos_imageOS ImageStringUnitlessOS Image reported by the Node from /etc/os-release.
Detailsprovider_idProvider IDStringUnitlessID of the Node assigned by the cloud provider in the format: ://.

Kubernetes Pod

Identifiers

CategoryKeyLabelData TypeUnitsDescription
UncategorizednameNameStringUnitlessName of the Pod.
UncategorizednamespaceNamespaceStringUnitlessNamespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated.

Metrics

CategoryKeyLabelData TypeUnitsDescription
DiskavailableephemeralspaceAvailable Ephemeral SpaceIntegerBytesThe ephemeral storage space available.
Memoryavailable_memoryAvailable MemoryIntegerBytesAvailable memory for use. This is defined as (Memory Limit - Working Set Usage). If Memory Limit is undefined, this metric is not returned.
CPUcpu_limitCPU LimitIntegerNanocoresThe maximum CPU usage the containers on this pod are allowed to consume.
CPUcpulimitusage_ratioCPU Limit UsageFloat%The total CPU Usage in proportion to the CPU Limit.
CPUcpu_requestCPU RequestIntegerNanocoresThe minimum CPU usage required by the containers on this pod.
CPUcpurequestusage_ratioCPU Request UsageFloat%The total CPU Usage in proportion to the CPU Request.
CPUcpu_timeCPU TimeCounterNanosecondsCumulative CPU time (sum of all cores) since object creation.
CPUcpu_usageCPU UsageIntegerNanocoresTotal CPU usage (sum of all cores) averaged over the sample window.
DiskfreeephemeralinodesFree Ephemeral inodesIntegerUnitlessThe number of free ephemeral inodes.
MemorymajorpagefaultsMajor Page FaultsCounterUnitlessCumulative number of major page faults.
Memorymemory_limitMemory LimitIntegerBytesThe maximum memory usage the containers on this pod are allowed to consume.
Memorymemorylimitusage_ratioMemory Limit UsageFloat%The total Memory Usage in proportion to the Memory Limit.
Memorymemory_requestMemory RequestIntegerBytesThe minimum memory required by the containers on this pod.
Memorymemoryrequestusage_ratioMemory Request UsageFloat%The total Memory Usage in proportion to the Memory Request.
Memorymemory_usageMemory UsageIntegerBytesTotal memory in use. This includes all memory regardless of when it was accessed.
MemoryminorpagefaultsMinor Page FaultsCounterUnitlessCumulative number of minor page faults.
StatusphasePhaseStringUnitlessCurrent condition of the Pod.
StatusreadyReadyStringUnitlessTrue if all containers on this Pod are in a ready state.
Statusrestart_countRestart CountIntegerUnitlessThe number of times Containers running on this Pod have restarted.
Memoryrss_usageRSS UsageIntegerBytesThe amount of anonymous and swap cache memory (includes transparent hugepages).
DisktotalephemeralinodesTotal Ephemeral inodesIntegerUnitlessThe total number of ephemeral inodes.
DisktotalephemeralspaceTotal Ephemeral SpaceIntegerBytesThe total ephemeral storage capacity.
DiskusedephemeralinodesUsed Ephemeral inodesIntegerUnitlessThe number of ephemeral inodes used.
DiskusedephemeralspaceUsed Ephemeral SpaceIntegerBytesThe ephemeral storage space used.
Diskusedephemeralspace_ratioUsed Ephemeral SpaceFloat%The ephemeral storage space used.
MemoryworkingsetusageWorking Set UsageIntegerBytesThe amount of working set memory. This includes recently accessed memory, dirty memory, and kernel memory.

Properties

CategoryKeyLabelData TypeUnitsDescription
DetailscomponentComponentStringUnitlessThe component label of the Pod.
User Configurationdns_policyDNS PolicyStringUnitlessThe DNS policy for the Pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. Note that 'None' policy is an alpha feature introduced in v1.9 and CustomPodDNS feature gate must be enabled to use it.
Detailshost_ipHost IP AddressStringUnitlessIP address of the host to which the pod is assigned. Empty if not yet scheduled.
Detailspod_ipIP AddressStringUnitlessIP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.
Detailsqos_classQoS ClassStringUnitlessThe Quality of Service (QoS) classification assigned to the Pod based on resource requirements.
User Configurationrestart_policyRestart PolicyStringUnitlessRestart policy for all containers within the Pod. One of Always, OnFailure, Never. Default to Always.

Kubernetes Volume

Identifiers

CategoryKeyLabelData TypeUnitsDescription
UncategorizednameNameStringUnitlessName of the Volume.

Metrics

CategoryKeyLabelData TypeUnitsDescription
Diskavailable_spaceAvailable SpaceIntegerBytesThe storage space available of this volume.
Diskfree_inodesFree inodesIntegerUnitlessThe number of free inodes in this volume.
Disktotal_inodesTotal inodesIntegerUnitlessThe total number of inodes in this volume.
Disktotal_spaceTotal SpaceIntegerBytesThe total storage capacity of this volume.
Diskused_inodesUsed inodesIntegerUnitlessThe number of inodes used in this volume.
Diskused_spaceUsed SpaceIntegerBytesThe storage space used of this volume.

Properties

CategoryKeyLabelData TypeUnitsDescription
DetailstypeTypeStringUnitlessThe type of the volume.

See also:

Alerts (Kubernetes)