Supported metrics for Microsoft.Network/expressRoutePorts

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

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

Admin state of the port
AdminState Count Average, Minimum, Maximum, Count Link PT1M Yes
FastPathRoutesCount

Count of fastpath routes configured on port
FastPathRoutesCountForDirectPort Count Maximum <none> PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
LineProtocol

Line protocol status of the port
LineProtocol Count Average, Minimum, Maximum, Count Link PT1M Yes
BitsInPerSecond

Bits ingressing Azure per second
PortBitsInPerSecond BitsPerSecond Average, Minimum, Maximum, Count Link PT1M No
BitsOutPerSecond

Bits egressing Azure per second
PortBitsOutPerSecond BitsPerSecond Average, Minimum, Maximum, Count Link PT1M No
RxLightLevel

Rx Light level in dBm
RxLightLevel Count Average, Minimum, Maximum, Count Link, Lane PT1M Yes
TxLightLevel

Tx light level in dBm
TxLightLevel Count Average, Minimum, Maximum, Count Link, Lane PT1M Yes

Next steps