You can create and configure an alert rule for a metric of an instance based on your business requirements. If the condition in the alert rule is met, the system sends alert notifications to the specified alert group. The notifications include the usage data of the metric of the instance. This topic describes how to configure an alert rule.
Prerequisites
Create an alert rule
Log on to the IoT Platform console. In the upper-left corner, select the region in which the IoT instance resides.
On the Overview tab, click the card of the instance that you want to manage.
On the Instance Details page, click Alert Rules.
On the Alert Rules tab, click Create Alert Rule.
In the Create Alert Rule panel, configure the parameters and click Next step. The following table describes the parameters.
Parameter
Description
Metrics
The metric that you want to monitor. Valid values:
Online Devices
TPS of Upstream & Downstream Messages
Message Forwarding TPS
Time-series Data Storage Read IOPS
Time-series Data Storage Write IOPS
Time-series Data Storage Space
Data Processing Unit
Offline Data Storage Space
Rule Name
The name of the custom rule.
Statistical Fields
Select Count.
Operator
The conditional operator for the metric. Valid values:
>=, >, <=, <, and !=
Greater Than Yesterday and Less Than Yesterday
Greater Than Last Week and Less Than Last Week
Greater Than Last Period and Less Than Last Period
Threshold
The alert threshold for the metric. You can specify a custom value.
Cycle
The number of checks that you want the system to perform on the metric. Valid values: 1, 3, 5, and 10.
Data Aggregation Cycle
The interval between two checks. Valid values: 1min and 5min.
The configuration that is shown in the following figure indicates that the system checks whether the number of online devices on the current instance exceeds 50 at an interval of 1 minute three times. If the condition is met all three times, an alert is triggered.

Click Next step. In the Notification Methods step, configure the parameters. The following table describes the parameters.
Parameter
Description
Alert Effective Time
The period of time during which the alert rule takes effect. The system monitors the specified metric based on the alert rule only within the specified period of time.
Alert Silence Cycle
The interval at which CloudMonitor resends alert notifications before the alert is cleared.
Alert Contacts
The contact groups that are used to receive alert notifications.
You can click Create Alert Group to create an alert group. For more information, see Configure alert contacts.
Alert Severity
Phone + SMS + Email + DingTalk Bot (Critical)
SMS + Email + DingTalk Bot (Warning)
Email + DingTalk Bot (Info)
ImportantIf you select a method that sends alert notifications by phone call or text message, make sure that the corresponding resource quota in CloudMonitor is sufficient. To view quotas, move the pointer over the
icon to the right of Alert Severity and click View Quota in the tooltip.
Verify the result
After the configuration is complete, the Alert Rules tab displays the alert rule that you created.
To modify the alert rule, go to the Alert Rules tab, find the alert rule, and then click Edit in the Actions column.

View alert history
To view alert history by alert rule name and cloud service name, go to the Alert Rules tab and click View Alert History to go to the Alert History page of the CloudMonitor console.
For more information, see View historical alerts.