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
Log on to the CloudMonitor 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 CloudMonitor console.
Metrics
Category | Metric | Metric ID | Unit |
User | max API QPS per user | MaxApiQpsPerUser | Requests/s |
watermark of API QPS | WatermarkOfApiQps | % | |
max console API QPS per user | MaxConsoleApiQpsPerUser | Requests/s | |
watermark of console API | WatermarkOfConsoleApiQps | % | |
Queue | age of oldest message | AgeOfOIdestMessage | Milliseconds |
number of messages delayed | NumberOfMessagesDelayed | N/A | |
number of messages visible | NumberOfMessagesVisible | N/A | |
number of messages invisible | NumberOfMessagesInvisible | N/A | |
number of put API calls | NumberOfSendAPICalls | N/A | |
number of receive API calls | 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 delete API calls | NumberOfDeleteAPICalls | N/A | |
number of changeMessageVisibility API Calls | NumberOfChangeMessaVisibilityAPICalls | N/A | |
number of batch send API calls | NumberOfBatchSnedAPICalls | N/A | |
number of batch receive API calls | NumberOfBatchReceiveAPICalls | N/A | |
number of batch delete API calls | NumberOfBatchDeleteAPICalls | N/A | |
Topic | number of publish API calls | NumberOfPublishAPICallsPerTopic | N/A |
Subscription | number of push per subscription | NumberOfPushPerSubscription | N/A |
process success rate per subscription | ProcessSuccessRatePerSubscription | % | |
Accumulation Time of the Earliest Subscribed Message | AgeOfOldestVisibleMessagePerSubscription | Milliseconds | |
Number of Subscribed Accumulated Messages | NumberOfMessagesVisiblePerSubscription | 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.