All Products
Search
Document Center

ApsaraMQ for MQTT:View resource statistics

Last Updated:Mar 15, 2024

If you want to query the total number of sent and received messages and the transactions per second (TPS) of a topic, you can use the resource statistics feature provided by ApsaraMQ for MQTT. The feature can help analyze the causes of specific events or performance fluctuations. The resource statistics feature of ApsaraMQ for MQTT allows you to specify multiple filter conditions and a custom time range for a query. You can query only the statistics of messages that are produced and consumed within the last three days.

Procedure

  1. Log on to the ApsaraMQ for MQTT console. In the left-side navigation pane, click Instances.

  2. In the top navigation bar, select the region where the instance that you want to manage resides. On the Instances page, click the instance name to go to the Instance Details page.

  3. In the left-side navigation pane, click Resource Statistics.

  4. On the Resource Statistics page, configure the following parameters to specify the filter conditions: Parent Topic, Subtopic, QoS, Message Type, and Time Range. Then, click Search.

References

You can also use CloudMonitor to create alert rules to automatically monitor services and send alert notifications. For more information, see Monitoring and alerting.