How to Monitor DMS RocketMQ in Huawei Cloud
Site24x7 continuously monitors your DMS RocketMQ metrics, giving your team real-time visibility into message production and consumption throughput, storage utilization, and rate-limiting activity across your RocketMQ instances.
Use cases
Accumulation control: A rising Instance Accumulation count signals consumers falling behind producers. Set an alert on accumulation thresholds to scale consumer groups or investigate slow processing before backlogs exhaust retention windows.
Storage assurance: Track Instance Disk Usage alongside Instance Retention Period to monitor how quickly storage is consumed relative to the retention window.
Throttle insight: Instance Produce and Consume Rate Limit Percentages show proximity to configured limits, while Rate Limit Times quantify active throttling. Monitor both to tune rate-limit policies before throttling degrades application throughput.
Setup and configuration
DMS RocketMQ resources are auto-discovered and monitored during the Huawei Cloud integration. To enable monitoring, follow the steps below:
- Navigate to Cloud > Huawei > Add Huawei Monitor. Follow the steps to add a Huawei Cloud monitor.
- While adding or editing a Huawei Cloud monitor, select DMS RocketMQ from the Service/Resource Types drop-down and click Save.
- Navigate to Cloud > Huawei, select the created Huawei monitor, and then click DMS RocketMQ.
Supported metrics
Messages
Metric name |
Description |
Units |
| Instance Produce Messages | The total number of messages produced by the RocketMQ instance. | Count |
| Instance Consume Messages | The total number of messages consumed by the RocketMQ instance. | Count |
| Instance Accumulation | The number of messages that have accumulated and are yet to be consumed by consumer groups. | Count |
| Instance Produce Scheduled Messages | The total number of scheduled messages produced by the RocketMQ instance. | Count |
General
Metric name |
Description |
Units |
| Current Topics | Total number of topics currently active on the RocketMQ instance. | Count |
| Current Queues | Total number of message queues currently active across all topics on the instance. | Count |
Storage
Metric name |
Description |
Units |
| Instance Disk Usage | The percentage of disk capacity currently consumed by the RocketMQ instance. | Percentage |
| Instance Retention Period | The duration for which messages are retained on the RocketMQ instance before expiry. | Hour |
Rate
Metric name |
Description |
Units |
| Instance Produce Rate | The rate at which messages are being produced to the RocketMQ instance. | Count/second |
| Instance Consume Rate | The rate at which messages are being consumed from the RocketMQ instance. | Count/second |
| Instance Produce Rate For Rate Limit | The produce message rate used as the basis for evaluating rate limit thresholds. | Count/second |
| Instance Consume Rate For Rate Limit | The consume message rate used as the basis for evaluating rate limit thresholds. | Count/second |
Rate Limiting
Metric name |
Description |
Units |
| Instance Produce Rate Limit Percentage | The percentage of the configured produce rate limit being utilized. | Percentage |
| Instance Consume Rate Limit Percentage | The percentage of the configured consume rate limit being utilized. | Percentage |
| Instance Produce Rate Limit Times | The number of times produce rate limiting has been triggered on the RocketMQ instance. | Count |
| Instance Consume Rate Limit Times | The number of times consume rate limiting has been triggered on the RocketMQ instance. | Count |
Threshold configuration
You can configure thresholds and alerts for all DMS RocketMQ metrics to detect performance degradation proactively or connection issues.
- Go to Admin > Configuration Profiles > Threshold and Availability.
- Create or edit your Threshold Profile for DMS RocketMQ.
- Assign the profile to the respective monitors to trigger alerts.
IT Automation
Use Site24x7's IT Automation to resolve common issues with DMS RocketMQ performance:
- Go to Admin > IT Automation Templates. Then, click Add Automation Templates.
- Create an automation rule by selecting the automation Type (e.g., Server reboot, clear queue).
- Map the created rules to the DMS RocketMQ, for automatic execution during alerts.
Configuration rules
Use Configuration Rules to simplify bulk setup across DMS RocketMQ instances. Automatically assign Threshold Profiles, Notification Profiles, Tags, and Monitor Groups when new monitors are discovered.
