ApsaraDB for MongoDB provides real-time performance metrics, including read/write latency, QPS, operations, connections, and network traffic, so you can monitor instance health as it happens.
Prerequisites
The instance must be a replica set instance or a sharded cluster instance that uses the MongoDB protocol.
Procedure
-
Go to the Replica Set Instances or Sharded Cluster Instances page. In the top navigation bar, select the resource group and region, and then click the target instance ID.
-
In the navigation pane on the left, click .
-
Monitor real-time performance trends and view mongostat command output.
NoteRefreshing or revisiting the Real-time Monitoring page restarts data collection for the real-time charts and mongostat output and resets the Available Refreshes counter in the upper-right corner.
-
Real-time Charts
Real-time line charts refresh every 5 seconds, letting you track performance trends at a glance.
NoteClick the
icon above a chart to view details about the metric. -
Mongostat
A new row of real-time performance values appears every 5 seconds, up to 999 rows. ApsaraDB for MongoDB uses mongostat v0.1. For more information about the output fields, see the official MongoDB documentation.
-