This article describes how to query the total number of messages that are received by or sent from the topics of an instance and the transactions per second (TPS) of the topics in the Message Queue for MQTT console.

Background information

You can specify multiple filters and the time range for a query. Message Queue for MQTT allows you to query the statistics on the messages that are produced or consumed within the last three days.

Procedure

  1. Log on to the Message Queue for MQTT console.
  2. In the left-side navigation pane, click Instances.
  3. In the top navigation bar, select a region.
  4. Find the instance that you want to view in the instance list. Click the instance name or click Details in the Actions column to go to the Instance Details page.
  5. In the left-side navigation pane, click Resource Statistics.
  6. On the Resource Statistics page, set the following parameters to specify filters: Parent Topic, Subtopic, QoS, Message Type, and Time Range.
  7. Click Search.
    Results are displayed in charts.