IoT Platform allows you to use Cloud Monitor. You can configure threshold-triggered and event-triggered alert rules to monitor the resource usage of IoT Platform. You can also receive notifications at the earliest opportunity when alerts are triggered.
Create a threshold-triggered alert rule
An alert is triggered when the resource usage of IoT Platform or the number of failed executions exceeds the specified threshold during the specified period of time. Then, Cloud Monitor sends an alert notification based on the threshold-triggered alert rule.
- When you select IoT Platform for the Product parameter, the following metrics are supported:
- DeviceEventReportError
- DevicePropertyReportError
- DevicePropertySettingError
- DeviceServiceCallError
- MessageCountForwardedThroughRuleEngine_REPUBLISH, MessageCountForwardedThroughRuleEngine_DATAHUB, MessageCountForwardedThroughRuleEngine_FC, MessageCountForwardedThroughRuleEngine_MNS, MessageCountForwardedThroughRuleEngine_MQ, MessageCountForwardedThroughRuleEngine_OTS, MessageCountForwardedThroughRuleEngine_RDS, and MessageCountForwardedThroughRuleEngine_TSDB
- MessageCountSentFromIoT_MQTT and MessageCountSentFromIoT_LoRa
- MessageCountSentToIoT_MQTT, MessageCountSentToIoT_CoAP, MessageCountSentToIoT_HTTP, and MessageCountSentToIoT_LoRa
- OnlineDevicesCount_MQTT
- MessageCountPerMinute
- RuleEningeTransmitCountPerMinute
- DeviceCount_Product
- When you select IoT Platform-Instance for the Product parameter, the following metrics are supported:
- DeviceNum_instance
- MessageWatermarkTps_instance
- RuleEngineWatermarkTps_instance
Perform the following steps to create a threshold-triggered alert rule:
For more information about how to configure a threshold-triggered alert rule, see Create a threshold-triggered alert rule.
Create an event-triggered alert rule
You can create an event-triggered alert rule in Cloud Monitor to monitor the following IoT Platform events:
- The number of connection requests that are sent per minute by a device reaches the upper limit.
- The number of messages that are sent per second by a device reaches the upper limit.
- The number of messages that are received per second by a device reaches the upper limit.
- The number of connection requests that are sent per second by the current account reaches the upper limit.
- The number of messages that are sent per second by the current account reaches the upper limit.
- The number of messages that are received per second by the current account reaches the upper limit.
- The number of messages that are forwarded per second by the rules engine for the current account reaches the upper limit.
Perform the following steps to create an event-triggered alert rule: