Supported metrics for Microsoft.Network/loadBalancers

The following table lists the metrics available for the Microsoft.Network/loadBalancers 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.Network/loadBalancers

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Allocated SNAT Ports

Total number of SNAT ports allocated within time period
AllocatedSnatPorts Count Average FrontendIPAddress, BackendIPAddress, ProtocolType, IsAwaitingRemoval PT1M No
Byte Count

Total number of Bytes transmitted within time period
ByteCount Bytes Total (Sum) FrontendIPAddress, FrontendPort, Direction PT1M Yes
Health Probe Status

Average Load Balancer health probe status per time duration
DipAvailability Count Average ProtocolType, BackendPort, FrontendIPAddress, FrontendPort, BackendIPAddress PT1M Yes
Health Probe Status

Azure Cross-region Load Balancer backend health and status per time duration
GlobalBackendAvailability Count Average FrontendIPAddress, FrontendPort, BackendIPAddress, ProtocolType, FrontendRegion, BackendRegion PT1M Yes
Packet Count

Total number of Packets transmitted within time period
PacketCount Count Total (Sum) FrontendIPAddress, FrontendPort, Direction PT1M Yes
SNAT Connection Count

Total number of new SNAT connections created within time period
SnatConnectionCount Count Total (Sum) FrontendIPAddress, BackendIPAddress, ConnectionState PT1M Yes
SYN Count

Total number of SYN Packets transmitted within time period
SYNCount Count Total (Sum) FrontendIPAddress, FrontendPort, Direction PT1M Yes
Used SNAT Ports

Total number of SNAT ports used within time period
UsedSnatPorts Count Average FrontendIPAddress, BackendIPAddress, ProtocolType, IsAwaitingRemoval PT1M No
Data Path Availability

Average Load Balancer data path availability per time duration
VipAvailability Count Average FrontendIPAddress, FrontendPort PT1M Yes

Next steps