ExpressRoute monitoring, metrics, and alerts
This article helps you understand ExpressRoute monitoring, metrics, and alerts using Azure Monitor. Azure Monitor is one stop shop for all metrics, alerting, diagnostic logs across all of Azure.
Using Classic Metrics is not recommended.
To view Metrics, navigate to the Azure Monitor page and click Metrics. To view ExpressRoute metrics, filter by Resource Type ExpressRoute circuits. To view Global Reach metrics, filter by Resource Type ExpressRoute circuits and select an ExpressRoute circuit resource that has Global Reach enabled. To view ExpressRoute Direct metrics, filter Resource Type by ExpressRoute Ports.
Once a metric is selected, the default aggregation will be applied. Optionally, you can apply splitting, which will show the metric with different dimensions.
|CPU Utilization||Performance||ExpressRoute Virtual Network Gateway|
|Packets per Second||Performance||ExpressRoute Virtual Network Gateway|
|AdminState||Physical Connectivity||Link||ExpressRoute Direct|
|LineProtocol||Physical Connectivity||Link||ExpressRoute Direct|
|RxLightLevel||Physical Connectivity||ExpressRoute Direct|
|TxLightLevel||Physical Connectivity||ExpressRoute Direct|
Using GlobalGlobalReachBitsInPerSecond and GlobalGlobalReachBitsOutPerSecond will only be visible if at least one Global Reach connection is established.
Bits In and Out - Metrics across all peerings
You can view metrics across all peerings on a given ExpressRoute circuit.
Bits In and Out - Metrics per peering
You can view metrics for private, public, and Microsoft peering in bits/second.
BGP Availability - Split by Peer
You can view near to real-time availability of BGP across peerings and peers (Primary and Secondary ExpressRoute routers). This dashboard shows the Primary BGP session up for private peering and the Second BGP session down for private peering.
ARP Availability - Split by Peering
You can view near to real-time availability of ARP across peerings and peers (Primary and Secondary ExpressRoute routers). This dashboard shows the Private Peering ARP session up across both peers, but complete down for Microsoft peering across peerings. The default aggregation (Average) was utilized across both peers.
ExpressRoute Direct Metrics
Admin State - Split by link
You can view the admin state for each link of the ExpressRoute Direct port pair.
Bits In Per Second - Split by link
You can view the bits in per second across both links of the ExpressRoute Direct port pair.
Bits Out Per Second - Split by link
You can also view the bits out per second across both links of the ExpressRoute Direct port pair.
Line Protocol - Split by link
You can view the line protocol across each link of the ExpressRoute Direct port pair.
Rx Light Level - Split by link
You can view the Rx light level (the light level that the ExpressRoute Direct port is receiving) for each port. Healthy Rx light levels generally fall within a range of -10 to 0 dBm
Tx Light Level - Split by link
You can view the Tx light level (the light level that the ExpressRoute Direct port is transmitting) for each port. Healthy Tx light levels generally fall within a range of -10 to 0 dBm
ExpressRoute Virtual Network Gateway Metrics
CPU Utilization - Split Instance
You can view CPU utilization of the gateway instances.
Packets Per Second - Split by Instance
You can view packets per second traversing the gateway.
ExpressRoute gateway connections in bits/seconds
Alerts for ExpressRoute gateway connections
In order to configure alerts, navigate to Azure Monitor, then select Alerts.
Click +Select Target and select the ExpressRoute gateway connection resource.
Define the alert details.
Define and add the action group.
Alerts based on each peering
Configure alerts for activity logs on circuits
In the Alert Criteria, you can select Activity Log for the Signal Type and select the Signal.
Additional metrics in Log Analytics
You can also view ExpressRoute metrics by navigating to your ExpressRoute circuit resource and selecting the Logs tab. For any metrics you query, the output will contain the columns below.
|TimeGrain||string||PT1M (metric values are pushed every minute)|
|Count||real||Usually equal to 2 (each MSEE pushes a single metric value every minute)|
|Minimum||real||The minimum of the two metric values pushed by the two MSEEs|
|Maximum||real||The maxiumum of the two metric values pushed by the two MSEEs|
|Average||real||Equal to (Minimum + Maximum)/2|
|Total||real||Sum of the two metric values from both MSEEs (the main value to focus on for the metric queried)|
Configure your ExpressRoute connection.