Tencent Cloud provides the Cloud Monitor service for all users by default; therefore, you do not need to manually activate it. Cloud Monitor will start collecting monitoring data only after a Tencent Cloud product is used.
TDMQ for CMQ allows you to monitor the resources (topics and queues) created under your account, so that you can keep track of the status of your resources in real time. You can configure alarm rules for monitoring metrics. When a monitoring metric reaches the set alarm threshold, Cloud Monitor will notify you of exceptions in time via the notification channels you specified.
An alarm policy can determine whether an alarm notification should be sent based on the comparison between the monitoring metric and the given threshold in the selected time period. You can promptly take appropriate precautionary or remedial measures when the alarm is triggered by a TDMQ for CMQ status change. Properly configured alarm policies help improve the robustness and reliability of your applications.
Be sure to configure alarms for your instance to prevent exceptions caused by traffic spikes or specification limits.
- Metric: for example, if you select 1 minute as the statistical period for the "message retention volume" metric, then if the message retention volume exceeds the threshold for N consecutive data points, an alarm will be triggered.
- Alarm Frequency: for example, "Alarm once every 30 minutes" means that there will be only one alarm triggered every 30 minutes if a metric exceeds the threshold in several consecutive statistical periods. Another alarm will be triggered only if the metric exceeds the threshold again in the next 30 minutes.
For more information on alarms, see Creating Alarm Policy.