Cloud Monitor

更新时间:
复制 MD 格式

Lightweight Message Queue (formerly MNS) provides a new set of metrics that offers more granular data and additional metrics to enhance troubleshooting. The service is integrated with the latest Cloud Monitor architecture to ensure real-time and accurate data for a more efficient and convenient monitoring experience.

Usage

  • The new metrics are available in the China (Zhangjiakou), China (Chengdu), South Korea (Seoul), and Thailand (Bangkok) regions. Support for more regions will be added gradually.

  • In the Cloud Monitor console, choose Cloud Resource Monitoring > Cloud Service Monitoring > Middleware > Lightweight Message Queue (formerly MNS) to create new alert rules. The previous entry points, Message Service - Queue and Message Service - Topic, have been decommissioned.

    Warning

    Alert rules that depend on the old Cloud Monitor metrics will become invalid. To prevent monitoring gaps, you must recreate your alert rules at the new entry point (Middleware > Lightweight Message Queue (formerly MNS)) as soon as possible.

Metrics

Note

The AgeOfOldestMessage (message accumulation delay) and NumberOfMessagesInvisible (number of invisible messages) metrics are temporarily unavailable in the following regions: China (Beijing), China (Hangzhou), China (Shanghai), China (Shenzhen), Singapore, and UAE (Dubai). This also applies to the China East 2 (Shanghai) Finance, China South 1 (Shenzhen) Finance, and China North 2 (Beijing) Gov 1 regions.

Category

Metric

MetricName

Unit

User

Maximum API QPS

MaxApiQpsPerUser

count/s

API QPS usage

WatermarkOfApiQps

%

Maximum console API QPS

MaxConsoleApiQpsPerUser

count/s

Console API QPS usage

WatermarkOfConsoleApiQps

%

Queue

Message accumulation delay

AgeOfOldestMessage

ms

Number of scheduled messages

NumberOfMessagesDelayed

count

Number of visible messages

NumberOfMessagesVisible

count

Number of invisible messages

NumberOfMessagesInvisible

count

Number of Send API calls

NumberOfSendAPICalls

count

Number of Receive API calls

NumberOfReceiveAPICalls

count

Number of empty Receive API calls

Note

This metric measures the number of Receive API calls that do not return a message. You can configure long polling to reduce the number of requests and lower costs.

NumberOfEmptyReceives

count

Number of Delete API calls

NumberOfDeleteAPICalls

count

Number of ChangeMessageVisibility API calls

NumberOfChangeMessageVisibilityAPICalls

count

Number of BatchSend API calls

NumberOfBatchSendAPICalls

count

Number of BatchReceive API calls

NumberOfBatchReceiveAPICalls

count

Number of BatchDelete API calls

NumberOfBatchDeleteAPICalls

count

Topic

Number of publish requests per minute

NumberOfPublishAPICallsPerTopic

count

Subscription

Number of pushes per subscription

NumberOfPushPerSubscription

count

Subscription processing success rate

ProcessSuccessRatePerSubscription

%

Age of the oldest message in a subscription

AgeOfOldestVisibleMessagePerSubscription

ms

Number of accumulated messages in a subscription

NumberOfMessagesVisiblePerSubscription

count

Metric differences

Navigation

  • Old metrics: In the Cloud Monitor console, the metrics were located under Cloud Resource Monitoring > Cloud Service Monitoring > Message Service - Queue and Message Service - Topic.

  • New metrics: In the Cloud Monitor console, choose Cloud Resource Monitoring > Cloud Service Monitoring > Middleware > Lightweight Message Queue (formerly MNS).

Metrics

Category

New Cloud Monitor

Old Cloud Monitor

Metric

MetricName

Metric

MetricName

Queue

Number of visible messages

NumberOfMessagesVisible

Minimum period: 60s

Number of active messages

ActiveMessages

Minimum period: 300s

Number of scheduled messages

NumberOfMessagesDelayed

Minimum period: 60s

Delayed messages

DelayMessages

Minimum period: 300s

Number of invisible messages

NumberOfMessagesInvisible

Minimum period: 60s

Number of inactive messages

InactiveMessages

Minimum period: 300s

Number of Send API calls

NumberOfSendAPICalls

Send message requests

SendMessageCount

Number of BatchSend API calls

NumberOfBatchSendAPICalls

Batch send message requests

BatchSendMessageCount

Number of Receive API calls

NumberOfReceiveAPICalls

Receive message requests

ReceiveMessageCount

Number of BatchReceive API calls

NumberOfBatchReceiveAPICalls

Batch receive message requests

BatchReceiveMessageCount

Number of Delete API calls

NumberOfDeleteAPICalls

Delete message requests

DeleteMessageCount

Number of BatchDelete API calls

NumberOfBatchDeleteAPICalls

Batch delete message requests

BatchDeleteMessageCount

Number of ChangeMessageVisibility API calls

NumberOfChangeMessageVisibilityAPICalls

Message visibility modifications

ChangeMessageVisibilityCount

Number of empty Receive API calls

NumberOfEmptyReceives

N/A

Topic

Number of publish requests per minute

NumberOfPublishAPICallsPerTopic

N/A

Number of pushes

N/A. Use the "Number of pushes per subscription" metric instead.

Number of pushes

TopicCountNew

Push success rate (%)

N/A. Use the "Subscription processing success rate" metric instead.

Push success rate (%)

TopicSuccessRateNew

Subscription

Number of pushes per subscription

NumberOfPushPerSubscription

You can view and monitor this metric at the subscription level.

N/A

Subscription processing success rate

ProcessSuccessRatePerSubscription

You can view and monitor this metric at the subscription level.

N/A

Age of the oldest message in a subscription

AgeOfOldestVisibleMessagePerSubscription

N/A

Number of accumulated messages in a subscription

NumberOfMessagesVisiblePerSubscription

N/A

User

Maximum API QPS

MaxApiQpsPerUser

N/A

API QPS usage

WatermarkOfApiQps

N/A

Maximum console API QPS

MaxConsoleApiQpsPerUser

N/A

Console API QPS usage

WatermarkOfConsoleApiQps

N/A

Billing

The Cloud Monitor feature for Lightweight Message Queue (formerly MNS) is free of charge.

View metrics

  1. Log on to the SMQ console. In the left-side navigation pane, click Cloud Monitor.

  2. In the top navigation bar, select a region. Example: China (Hangzhou).

  3. 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

  1. Go to the details page of the queue or topic that you want to manage and click the Cloud Monitor tab.

  2. On the Cloud Monitor tab, click Create Alert Rule.

    The Create Alert Rule panel in the Cloud Monitor console appears.

  3. 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.