All Products
Search
Document Center

Statistics

Last Updated: Sep 13, 2019

The statistics function allows you to collect the statistics about message production and consumption. It allows you to view not only the total quantity of messages that a topic received from the broker or the message receiving TPS of the topic during a certain period of time, but also the total quantity of messages that a topic sent to a group ID or its message sending TPS to that group ID during a certain period of time.

View message production data

You can view the total number of messages or receiving TPS of a topic from the broker within the specified period.

The procedure is as follows:

  1. Log on to the MQ console. In the left-side navigation pane, choose Statistics.

  2. On the Statistics page, click the Message Production tab.

  3. Select the required topic from the Topic drop-down list.

  4. Set other parameters as required and click Search.

    Field description:

    • Collection Type: The options include Total Quantity and TPS. Total Quantity shows the total quantity of messages that the topic received from the broker within a collection cycle, and TPS shows the average message receiving TPS of the topic.
    • Collection Cycle: The options include Every 1 Minute, Every 10 Minutes, Every 30 Minutes, and Every 1 Hour. The collection cycle is the data collection interval. Therefore, the shorter the cycle, the more frequent the collection is, and the more detailed the message production statistics are.
    • Time Range: MQ allows you to query messages produced within the last three days.

Query results are displayed in a chart.

View message consumption data

You can view the total number of messages of a topic that are delivered to a group ID or the delivery TPS within the specified period.

The procedure is as follows:

  1. Log on to the MQ console. In the left-side navigation pane of the MQ console, choose Statistics.

  2. On the Statistics page, click the Message Consumption tab.

  3. Select the group ID and topic from the Group ID and Topic drop-down lists respectively.

  4. Set other parameters as required and click Search.

    Field description:

    • Collection Type: The options include Total Quantity and TPS. Total Quantity indicates the total number of messages that the topic delivers to the group ID in each collection cycle, and TPS indicates the average TPS of the messages that the topic delivers to the group ID in each collection cycle.
    • Collection Cycle: The options include Every 1 Minute, Every 10 Minutes, Every 30 Minutes, and Every 1 Hour. The collection cycle is the data collection interval. Therefore, the shorter the cycle, the more frequent the collection is, and the more detailed the message consumption statistics are.
    • Time Range: MQ allows you to query messages consumed within the last three days.

Query results are displayed in a chart.