Simple Message Queue (SMQ, formerly MNS) provides a new set of monitoring metrics that can be used to collect data in a more fine-grained manner. The monitoring metrics also contain more metrics for key issue identification and troubleshooting. The latest version of Cloud Monitor ensures the timeliness and accuracy of the monitoring data. You can monitor data in a more efficient and convenient manner.
Usage notes
The new metrics is supported in regions such as China (Zhangjiakou), China (Chengdu), Thailand (Bangkok), and South Korea (Seoul). More regions will be supported in the future.
Log on to the Cloud Monitor console and choose in the left-side navigation pane. In the Middleware section of the Cloud Service Monitoring page, click Simple Message Queue(formerly MNS). On the page that appears, configure new alerts. The old entries Message Service - Queue and Message Service-Topic are removed from the the Cloud Monitor console.

Metrics
AgeOfOldestMessage and NumberOfMessagesInvisible are not supported in the following regions: China (Beijing), China (Hangzhou), China (Shanghai), China (Shenzhen), Singapore, UAE (Dubai), China East 2 Finance, China South 1 Finance and China North 2 Ali Gov 1.
Category | Metric | Metric ID | Unit |
User | Maximum API QPS per Minute | MaxApiQpsPerUser | Requests/s |
Usage of API QPS | WatermarkOfApiQps | % | |
Manage Maximum API QPS per Minute | MaxConsoleApiQpsPerUser | Requests/s | |
Manage Usage of API QPS | WatermarkOfConsoleApiQps | % | |
Queue | Message Accumulation Delay | AgeOfOldestMessage | Milliseconds |
Number of Messages that Are Being Scheduled | NumberOfMessagesDelayed | N/A | |
Number of visible messages | NumberOfMessagesVisible | N/A | |
Number of invisible messages | NumberOfMessagesInvisible | N/A | |
Number of Sent API Requests | NumberOfSendAPICalls | N/A | |
Number of Consumed API Requests | NumberOfReceiveAPICalls | N/A | |
number of empty receives Note This metric specifies the number of a ReceiveMessage request waits for a message to arrive. We recommend that you increase the long polling period to reduce the number of requests and save costs. | NumberOfEmptyReceives | N/A | |
Number of Deleted API Requests | NumberOfDeleteAPICalls | N/A | |
Number of Modified API Requests in Visible Time | NumberOfChangeMessaVisibilityAPICalls | N/A | |
Number of Batch Sent API Requests | NumberOfBatchSnedAPICalls | N/A | |
Number of Consumed API Requests | NumberOfBatchReceiveAPICalls | N/A | |
Number of Batch Deleted API Requests | NumberOfBatchDeleteAPICalls | N/A | |
Topic | Number of Requests Sent per Minute | NumberOfPublishAPICallsPerTopic | N/A |
Subscription | Number of Pushes per Subscription | NumberOfPushPerSubscription | N/A |
Subscription Processing Success Rate | ProcessSuccessRatePerSubscription | % | |
Accumulation Time of the Earliest Subscribed Message | AgeOfOldestVisibleMessagePerSubscription | Milliseconds | |
Number of Subscribed Accumulated Messages | NumberOfMessagesVisiblePerSubscription | N/A |
Differences between new and old monitoring items
Procedure
Log on to the Cloud Monitor console of earlier version. Choose , and click Metric Monitoring under the Message Service (MNS) - queue and Message Queue (MNS) - topic.
Log ont to the new Cloud Monitor console. Choose , and click Metric Monitoring under Simple Message Queue (formerly MNS) (SMQ).
Metric
Category | New Cloud Monitor | Old Cloud Monitor | ||
Metric | MetricName | Metric | MetricName | |
Queue | Number of Visible Messages | NumberOfMessagesVisible Minimum period: 60 s | Number of Active Messages | ActiveMessages Minimum period: 300s |
Number of Messages that Are Being Scheduled | NumberOfMessagesDelayed Minimum period: 60 s | Delayed Messages | DelayMessages Minimum period: 300s | |
Number of invisible messages | NumberOfMessagesInvisible Minimum period: 60 s | Number of Inactive Messages | InactiveMessages Minimum period: 300s | |
Number of sent API requests | NumberOfSendAPICalls | Send message requests | SendMessageCount | |
Number of Batch Sent API Requests | NumberOfBatchSnedAPICalls | Batch Send Message Requests | BatchSendMessageCount | |
Number of Consumed API Requests | NumberOfReceiveAPICalls | Receive Message Requests | ReceiveMessageCount | |
Number of Batch Consumed API Requests | NumberOfBatchReceiveAPICalls | Batch Receive Message Requests | BatchReceiveMessageCount | |
Number of Deleted API Requests | NumberOfDeleteAPICalls | Delete Message Requests | DeleteMessageCount | |
Number of Batch Deleted API Requests | NumberOfBatchDeleteAPICalls | Batch Delete Message Requests | BatchReceiveMessageCount | |
Number of Modified API Requests in Visible Time | NumberOfChangeMessaVisibilityAPICalls | Message Visibility Modifications | ChangeMessageVisibilityCount | |
Number of Requests that Messages Are Not Consumed | NumberOfEmptyReceives | N/A | ||
Topic | Number of Requests Sent per Minute | NumberOfPublishAPICallsPerTopic | N/A | |
Number of Pushes | Unavaliable. Replaced by Number of Pushes per Subscription | Number of Pushes | TopicCountNew | |
Push Success Rate (%) | Unavaliable. Replaced by Subscription Processing Success Rate | Push Success Rate (%) | TopicSuccessRateNew | |
Subscription | Number of Pushes per Subscription | NumberOfPushPerSubscription You can view and monitor the metric at subscription level. | N/A | |
Subscription Processing Success Rate | ProcessSuccessRatePerSubscription You can view and monitor the metric at subscription level. | N/A | ||
Accumulation Time of the Earliest Subscribed Message | AgeOfOldestVisibleMessagePerSubscription | N/A | ||
Number of Subscribed Accumulated Messages | NumberOfMessagesVisiblePerSubscription | N/A | ||
User | Maximum API QPS per Minute | MaxApiQpsPerUser | N/A | |
Usage of API QPS | WatermarkOfApiQps | N/A | ||
Manage Maximum API QPS per Minute | MaxConsoleApiQpsPerUser | N/A | ||
Manage Usage of API QPS | WatermarkOfConsoleApiQps | N/A | ||
Billing
You are not charged on the SMQ side.
View metrics
Log on to the SMQ console. In the left-side navigation pane, click Cloud Monitor.
In the top navigation bar, select a region. Example: China (Hangzhou).
On the Cloud Monitor page, click the tab of the resources that you want to view and select a time range.
Create an alert rule
Go to the details page of the queue or topic that you want to manage and click the Cloud Monitor tab.
On the Cloud Monitor tab, click Create Alert Rule.
The Create Alert Rule panel in the Cloud Monitor console appears.
In the Create Alert Rule panel, configure the rule and notification settings as prompted. Then, click Confirm. For more information about the parameters, see Create an alert rule.