Cloud monitoring through the monitoring of Message Service delay messages, invalid messages, active messages, three monitoring items, help Users get message service Queue usage.

When users create message queues for message service, cloud monitoring automatically begins to monitor them, you are logged in to the cloud monitoring Message Service You can view monitoring details on the page. You can also set alarm rules on monitoring items so that you receive alarm information when the data is abnormal.

Monitoring Services

  • Monitoring item description
    Monitoring items Meaning Dimensions Unit Minimum monitor Granularity
    Activemessages The total number of messages that are active in this queue Userid, region, bid, queue Number 5 minutes
    Inactivemessages The total number of messages that are inactive in this queue Userid, region, bid, queue Number 5 minutes
    Delaymessage The total number of messages in the delayed state in this queue Userid, region, bid, queue Number 5 minutes
    Sendmessageecount Send message requests Userid, region, queue Items 3600
    Batchsendmessagecount Number of bulk send message requests Userid, region, queue Items 3600
    Receivemessagecount Number of receive message requests Userid, region, queue Items 3600
    Batchreceivemessagecount Number of bulk receive message requests Userid, region, queue Items 3600
    Batchdeletemessagecount Bulk Delete message request quantity Userid, region, queue Items 3600
    Changemessagevisibilitycount Change message visibility count Userid, region, queue Items 3600
  • Viewing Monitoring Data
    1. Log in to the cloud monitoring console.
    2. Enter the list of message service instances that the cloud service monitors.
    3. Click the Instance name or the monitor chart in the operation to go to the monitor details page.
    4. Click the size chart toggle button to toggle the larger image display (optional ).

Alarm service

  • Parameter descriptions
    • Monitor: the monitoring metrics provided by the message service.
    • Statistical Cycle: the alarm system checks if your monitoring data exceeds the alarm threshold for this cycle. For example, to set a memory usage alarm rule, the statistics cycle is 1 minute, an interval of 1 minute checks if memory usage exceeds the threshold.
    • Statistical Methods: Statistical Methods refer to settings that exceed the threshold range. You can set the average, maximum, minimum, count, and value in a statistical method.
      • Average: the average of the monitored data during the statistical cycle. The result is an average of all monitoring data collected within 15 minutes, when this average is greater than 80. Only when the threshold is exceeded.
      • Maximum: the maximum value of the monitor data during the statistics cycle. The maximum value of monitoring data collected during the statistical cycle exceeds the threshold of 80.
      • Minimum: the minimum value of the monitored data during the statistics cycle. The minimum value for monitoring data collected during the statistical cycle exceeds the threshold of 80.
      • Value: Sum of monitoring data during the statistics cycle. Sum up the monitoring data collected during the statistical period with more than 80% results after the sum That is, the threshold is exceeded. Such statistical methods are required for traffic-class metrics.
    • Alarm after several consecutive exceeds threshold: refers to a number of consecutive statistical cycle monitoring items whose values continue to exceed the threshold to trigger an alarm.

      Example: Set CPU usage to more than 80% alarm with a statistical cycle of 5 In minutes, alarm after 3 consecutive times exceeds the threshold, when the first time the CPU usage is detected exceeds 80, no alarm notification will be issued. The second time in 5 minutes to probe the CPU Usage is more than 80%, and no alarm will be issued. The third time the probe is still over 80%, alarm notification will be issued. That is, from the first time the actual data exceeds the threshold to the final alarm rule, the minimum time required is the statistical cycle (number of consecutive probes-1) = 5 (3-1) = 10 minutes.

  • Set alarm rules
    1. Log in to the cloud monitoring console.
    2. Enter the list of message service instances that the cloud service monitors.
    3. Click the alarm rule in the instance List action to enter the alert Rule Page for the instance.
    4. Click new alarm rule in the upper-right corner of the alarm Rule Page to create an alarm rule based on the parameter.