This topic describes how to view the real-time monitoring statistics of an ApsaraDB for MongoDB instance, such as read/write latency, queries per second (QPS), operations, connections, and network traffic.
Prerequisites
The instance is 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 region in which the instance resides. Then, find the instance and click the ID of the instance.
In the left-side navigation pane of the instance details page, choose .
On the page that appears, view the real-time running trends of performance metrics and the mongostat command outputs.
NoteWhen you refresh or access the Real-time Performance page again, the real-time charts and the mongostat command outputs are recorded again, and the Available Refreshes in the upper-right corner is reset.
Real-time Charts
On the Real-time Charts tab, line charts are refreshed every 5 seconds to provide up-to-date performance trends.
NoteYou can move the pointer over
to view the detailed information of performance metrics.
Mongostat
On the Mongostat tab, you can view mongostat command outputs. A new line of real-time performance data is added every 5 seconds. The tab can display up to 999 lines of data. ApsaraDB for MongoDB uses mongostat v0.1. For more information about mongostat command outputs, see the Fields section in the mongostat topic.