Supported metrics for Microsoft.ContainerService/managedClusters

The following table lists the metrics available for the Microsoft.ContainerService/managedClusters resource type.

Table headings

Metric - The metric display name as it appears in the Azure portal.
Name in Rest API - Metric name as referred to in the REST API.
Unit - Unit of measure.
Aggregation - The default aggregation type. Valid values: Average, Minimum, Maximum, Total, Count.
Dimensions - Dimensions available for the metric.
Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
DS Export- Whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.

For information on exporting metrics, see - Metrics export using data collection rules and Create diagnostic settings in Azure Monitor.

For information on metric retention, see Azure Monitor Metrics overview.

For a list of supported logs, see Supported log categories - Microsoft.ContainerService/managedClusters

Category: API Server (PREVIEW)

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Inflight Requests

Maximum number of currently used inflight requests on the apiserver per request kind in the last second
apiserver_current_inflight_requests Count Total (Sum), Average requestKind PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H No

Category: Cluster Autoscaler (PREVIEW)

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Cluster Health

Determines whether or not cluster autoscaler will take action on the cluster
cluster_autoscaler_cluster_safe_to_autoscale Count Total (Sum), Average <none> PT5M, PT15M, PT30M, PT1H, PT6H, PT12H No
Scale Down Cooldown

Determines if the scale down is in cooldown - No nodes will be removed during this timeframe
cluster_autoscaler_scale_down_in_cooldown Count Total (Sum), Average <none> PT5M, PT15M, PT30M, PT1H, PT6H, PT12H No
Unneeded Nodes

Cluster auotscaler marks those nodes as candidates for deletion and are eventually deleted
cluster_autoscaler_unneeded_nodes_count Count Total (Sum), Average <none> PT5M, PT15M, PT30M, PT1H, PT6H, PT12H No
Unschedulable Pods

Number of pods that are currently unschedulable in the cluster
cluster_autoscaler_unschedulable_pods_count Count Total (Sum), Average <none> PT5M, PT15M, PT30M, PT1H, PT6H, PT12H No

Category: Nodes

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Total number of available cpu cores in a managed cluster

Total number of available cpu cores in a managed cluster
kube_node_status_allocatable_cpu_cores Count Total (Sum), Average <none> PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H No
Total amount of available memory in a managed cluster

Total amount of available memory in a managed cluster
kube_node_status_allocatable_memory_bytes Bytes Total (Sum), Average <none> PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H No
Statuses for various node conditions

Statuses for various node conditions
kube_node_status_condition Count Total (Sum), Average condition, status, status2, node PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H No

Category: Nodes (PREVIEW)

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
CPU Usage Millicores

Aggregated measurement of CPU utilization in millicores across the cluster
node_cpu_usage_millicores MilliCores Maximum, Average node, nodepool PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H Yes
CPU Usage Percentage

Aggregated average CPU utilization measured in percentage across the cluster
node_cpu_usage_percentage Percent Maximum, Average node, nodepool PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H Yes
Disk Used Bytes

Disk space used in bytes by device
node_disk_usage_bytes Bytes Maximum, Average node, nodepool, device PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H Yes
Disk Used Percentage

Disk space used in percent by device
node_disk_usage_percentage Percent Maximum, Average node, nodepool, device PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H Yes
Memory RSS Bytes

Container RSS memory used in bytes
node_memory_rss_bytes Bytes Maximum, Average node, nodepool PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H Yes
Memory RSS Percentage

Container RSS memory used in percent
node_memory_rss_percentage Percent Maximum, Average node, nodepool PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H Yes
Memory Working Set Bytes

Container working set memory used in bytes
node_memory_working_set_bytes Bytes Maximum, Average node, nodepool PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H Yes
Memory Working Set Percentage

Container working set memory used in percent
node_memory_working_set_percentage Percent Maximum, Average node, nodepool PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H Yes
Network In Bytes

Network received bytes
node_network_in_bytes Bytes Maximum, Average node, nodepool PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H Yes
Network Out Bytes

Network transmitted bytes
node_network_out_bytes Bytes Maximum, Average node, nodepool PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H Yes

Category: Pods

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Number of pods by phase

Number of pods by phase
kube_pod_status_phase Count Total (Sum), Average phase, namespace, pod PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H No
Number of pods in Ready state

Number of pods in Ready state
kube_pod_status_ready Count Total (Sum), Average namespace, pod, condition PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H No

Next steps