After you create a topic, Cloud Monitor automatically starts to monitor the topic. Cloud Monitor allows you to monitor the status of MNS topics by using two metrics: notification times and success rate. Cloud Monitor also allows you to configure alert rules for these metrics. Then, you can receive alerts if a message fails to be pushed.
Metrics
The following metrics of MNS topics can be monitored in the Cloud Monitor console:
- Notification times: the total number of pushed messages within a specified period. You can monitor whether messages are pushed within a specified period and whether business traffic reaches the expected value.
- Success rate: the success rate of message push within a specified period. The success rate is calculated by dividing the number of pushed messages by the number of push attempts. You can monitor whether messages have been received by subscriber clients and configure alerts based on this metric.
Scenarios
You can monitor MNS topics and configure alerts in the following scenarios:
- Business monitoring: If a fixed number of messages are pushed every day, you can view the notification times to monitor your business. If the number of notifications is less than the expected value, your business may be abnormal. You can configure alert rules to monitor your business.
- Error alerting: Messages may fail to be pushed if an error occurs on endpoints. For example, an HTTP server stops responding, or a network exception occurs. You can view the success rate of message pushing and configure alert rules to report endpoint errors. If the success rate is lower than the expected value, Cloud Monitor sends you a DingTalk message, email, or text message.
View monitoring data
- Log on to the Cloud Monitor console.
- In the left-side navigation pane, choose .
- On the Cloud product charts page, click Message Service-topic. On the page that appears, select a region. Find the topic and click Monitoring Charts
in the Actions column. On the page that appears, select a resource type and a time
range.