Use real-time performance monitoring to diagnose ApsaraDB for MongoDB instance health as it happens. The Real-time Performance page in CloudDBA streams live data every 5 seconds, so you can spot spikes in read/write latency, queries per second (QPS), operations, connections, and network traffic before they escalate.
Prerequisites
Before you begin, ensure that:
The instance is a replica set instance or a sharded cluster instance that uses the MongoDB protocol
View real-time performance
Go to the Replica Set Instances or Sharded Cluster Instances page. In the top navigation bar, select the region where the instance resides. Find the instance and click its ID.
In the left-side navigation pane of the instance details page, choose CloudDBA > Real-time Performance.
On the Real-time Performance page, choose the view that matches your diagnostic goal:
Real-time Charts — line charts that refresh every 5 seconds, showing performance trends over time. Use this view to observe how metrics change during a spike or after a configuration change. Hover over
on any chart to see detailed metric information.Mongostat — a live table of
mongostatcommand output, with a new row appended every 5 seconds. The table holds up to 999 rows. Use this view to compare per-operation counts across a rolling time window. ApsaraDB for MongoDB uses mongostat v0.1. For field definitions, see the Fields section in the mongostat documentation.
Refreshing or reopening the Real-time Performance page resets both the charts and the mongostat output. Data collection restarts from that point, and the Available Refreshes counter in the upper-right corner resets.