This topic describes how to view 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
A standalone instance, a replica set instance, or a sharded cluster instance that adopts the MongoDB protocol type is used.
Procedure
Log on to the ApsaraDB for MongoDB console.
In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances based on the instance type.
In the upper-left corner of the page, select the resource group and region to which the instance belongs.
Click the ID of an instance, or click in the Actions column corresponding to the instance and select Manage.
In the left-side navigation pane of the instance details page, choose .
You can view the real-time trends of performance metrics and mongostat command.
NoteWhen you refresh or access the Real-time Performance page again, the real-time charts and mongostat output are recorded again, and the Remaining 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 parameters.
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 contain up to 999 lines of data. Mongostat v0.1 is used for ApsaraDB for MongoDB. For more information about mongostat command outputs, see mongostat.