Monitor and create alerts for ECR
Cloud Monitor collects real-time monitoring data for traffic between an Express Connect Router (ECR) and its connected VBRs, TRs, or VPCs. It also collects monitoring data for cross-region traffic that passes through the ECR instance. CloudMonitor displays this data in visual time-series charts. You can use ECR monitoring to track changes in traffic volume and packet rates. You can also create threshold-triggered alert rules to receive timely notifications about anomalies, allowing you to address issues promptly.
ECR monitoring information
You can view traffic monitoring data for connections between an ECR and its connected VBRs, TRs, or VPCs in both the Express Connect console and the CloudMonitor console. However, monitoring data for an ECR instance's cross-region traffic is available only in the CloudMonitor console.
Express Connect console
Log on to the Express Connect console.
In the left-side navigation pane, click Express Connect Router (ECR).
On the ECR page, click the ID of the desired Express Connect Router instance.
On the details page of the Express Connect Router instance, click the VBR, TR, or VPC tab.
In the Monitor column, click the
icon to view the monitoring data.
For information about the metrics for Express Connect Router, see Metrics.
By default, the charts display monitoring data from the last hour. You can also view data from the last 3 hours, 6 hours, or 12 hours, or specify a custom time range. You can query data for a maximum of 31 days.
Enable Auto Refresh to update the monitoring chart every minute.
CloudMonitor console
-
Log on to the Cloud Monitor console.
In the left-side navigation pane, choose .
On the Cloud Service Monitoring page, in the Network section, click Express Connect Router.
On the Express Connect Router page, find the desired ECR instance and click Monitoring Charts in the Actions column to view the monitoring data.
For information about the metrics for Express Connect Router, see Metrics.
By default, the charts display monitoring data from the last hour. You can choose to view data from the last 3 hours, 6 hours, or 12 hours. You can also click Custom to specify a custom time range.
Create a threshold alert rule
Log on to the Express Connect console.
In the top navigation bar, select the desired region. Then, in the left-side navigation pane, click Express Connect Router.
On the ECR page, click the ID of the desired Express Connect Router instance.
On the instance details page, click the
icon in the Monitor column of the desired instance.On the monitoring page of the desired instance, click Set Alert Threshold.
On the Alert Rules page, click Create Alert Rule.
In the Create Alert Rule panel, configure the parameters for the alert rule and click Confirm.
This section describes only the parameters relevant to this operation. For more information about other parameters, see Create an alert rule.
Parameter
Description
Product
Select Express Connect Router.
Resource Range
Specifies the scope of the alert rule.
All Resources: The alert rule applies to all resources of the selected cloud service under your Alibaba Cloud account.
Application Groups: The alert rule applies to all resources in the specified application group of the selected product. It also applies to new resources added later.
Instance: The alert rule applies only to the specified resources under your Alibaba Cloud account.
Rule Description
The conditions that trigger an alert. An alert is triggered when a metric meets the specified condition. To configure the rule description, perform the following steps:
Click Add Rule and select the appropriate metric type from the drop-down menu.
In the Configure Rule Description panel, first enter a Alert Rule. Then define the rule conditions.
Simple Metric: First select a monitoring metric. Then set its threshold and alert level.
Combined Metrics: First select an alert level. Then define a multi-metric alert condition using two or more monitoring metrics.
NoteIf you define a multi-metric alert rule, the target resource must report data for every metric. Otherwise, the alert will not trigger. For example, if your multi-metric alert includes a public network metric but the ECS instance has no public IP address, the alert will not trigger.
Expression: First select an alert level. Then define an alert expression.
Dynamic Threshold: For more information about smart thresholds, see Overview and Create a smart threshold alert rule.
Click OK.
Metrics
ECR-to-VBR metrics
Metric | Description | MetricName | Statistics |
PkgsOutFromECRToVBR | The number of packets sent from an ECR instance to a VBR per second. Unit: packets/s | PkgsOutFromECRToVBR | Value |
PkgsInFromVBRToECR | The number of packets sent from a VBR to an ECR instance per second. Unit: packets/s | PkgsInFromVBRToECR | Value |
RateOutFromECRToVBR | The rate of data transfer from an ECR instance to a VBR. Unit: bit/s | RateOutFromECRToVBR | Value |
RateInFromVBRToECR | The rate of data transfer from a VBR to an ECR instance. Unit: bit/s | RateInFromVBRToECR | Value |
BytesOutFromECRToVBR | The total amount of traffic sent from an ECR instance to a VBR. Unit: bytes | BytesOutFromECRToVBR | Value |
BytesInFromVBRToECR | The total amount of traffic sent from a VBR to an ECR instance. Unit: bytes | BytesInFromVBRToECR | Value |
ECR-to-TR metrics
Metric | Description | MetricName | Statistics |
PkgsOutFromECRToTR | The number of packets sent from an ECR instance to a TR per second. Unit: packets/s | PkgsOutFromECRToTR | Value |
PkgsInFromTRToECR | The number of packets sent from a TR to an ECR instance per second. Unit: packets/s | PkgsInFromTRToECR | Value |
RateOutFromECRToTR | The rate of data transfer from an ECR instance to a TR. Unit: bit/s | RateOutFromECRToTR | Value |
RateInFromTRToECR | The rate of data transfer from a TR to an ECR instance. Unit: bit/s | RateInFromTRToECR | Value |
BytesOutFromECRToTR | The total amount of traffic sent from an ECR instance to a TR. Unit: bytes | BytesOutFromECRToTR | Value |
BytesInFromTRToECR | The total amount of traffic sent from a TR to an ECR instance. Unit: bytes | BytesInFromTRToECR | Value |
ECR-to-VPC metrics
Metric | Description | MetricName | Statistics |
PkgsOutFromECRToVPC | The number of packets sent from an ECR instance to a VPC per second. Unit: packets/s | PkgsOutFromECRToVPC | Value |
PkgsInFromVPCToECR | The number of packets sent from a VPC to an ECR instance per second. Unit: packets/s | PkgsInFromVPCToECR | Value |
RateOutFromECRToVPC | The rate of data transfer from an ECR instance to a VPC. Unit: bit/s | RateOutFromECRToVPC | Value |
RateInFromVPCToECR | The rate of data transfer from a VPC to an ECR instance. Unit: bit/s | RateInFromVPCToECR | Value |
BytesOutFromECRToVPC | The total amount of traffic sent from an ECR instance to a VPC. Unit: bytes | BytesOutFromECRToVPC | Value |
BytesInFromVPCToECR | The total amount of traffic sent from a VPC to an ECR instance. Unit: bytes | BytesInFromVPCToECR | Value |
Cross-region ECR metrics
Metric | Description | MetricName | Statistics |
CrossRegionECRLimitDropPps | The number of packets dropped per second due to rate limiting on traffic from the source region to the destination region. Unit: packets/s | CrossRegionECRLimitDropPps | Value |
CrossRegionECRLimitDropRate | The packet drop rate due to rate limiting on traffic from the source region to the destination region. | CrossRegionECRLimitDropRate | Value |
CrossRegionECRPps | The number of packets sent from the source region to the destination region per second. Unit: packets/s | CrossRegionECRPps | Value |
CrossRegionECRRate | The rate of data transfer from the source region to the destination region. Unit: bit/s | CrossRegionECRRate | Value |
Related documents
For more information about CloudMonitor, see What is CloudMonitor?.