The ApsaraDB for MongoDB console provides a wide range of performance monitoring data for you to view and check the running status of instances.

Precautions

If you receive an alert message from Alibaba Cloud, such as a message indicating that your CPU utilization is higher than 80%, you must filter and troubleshoot the nodes of an instance when you view monitoring information of the instance for error diagnosis and analysis.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the page, select the region of the instance.
  3. In the left-side navigation pane, click Replica Set Instances or Sharding Instances.
  4. Find the instance and click its ID.
  5. In the left-side navigation pane, click Monitoring Info.
  6. View monitoring information based on instance types:
    Note By default, the monitoring data of the last day is displayed. You can also select a time range to view historical monitoring data.
    • Standalone instances: Only the monitoring data of primary nodes is displayed.
    • Replica set instances: You can specify to display the monitoring data of the primary or secondary node at the top of the page.
    • Sharded cluster instances: You can specify to display the monitoring data of a Mongos, shard, or Configserver node at the top of the page.
      Note Mongos nodes have IDs prefixed with s-. Shard nodes have IDs prefixed with d-. Configserver nodes have IDs suffixed with -cs.

Metrics

Metric Description
CPU Usage The CPU utilization of the instance.
Memory Usage The memory usage of the instance.
IOPS Usage The IOPS usage of the instance, including
  • Data disk IOPS usage.
  • Log disk IOPS usage.
IOPS Usage The percentage of the IOPS used by the instance to the maximum available IOPS.
Disk Space Usage The total disk space used by the instance, including
  • Total usage.
  • Data disk usage.
  • Log disk usage.
Disk Space Usage The percentage of the total space used by the instance to the maximum available space.
Opcounters Operation QPS of the instance, including
  • The number of insert operations.
  • The number of query operations.
  • The number of delete operations.
  • The number of update operations.
  • The number of getmore operations.
  • The number of command operations.
Connections The current number of connections to the instance.
Cursors The number of cursors used by the instance, including
  • The number of currently used cursors.
  • The number of expired cursors.
Network The network traffic of the instance, including
  • The inbound traffic.
  • The outbound traffic.
  • The number of processed requests.
Global Lock The queues waiting for the global lock for the instance, including
  • The queues waiting for the global read lock for the instance.
  • The queues waiting for the global write lock for the instance.
  • The total queues waiting for the global lock.
WiredTiger The cache metric of the WiredTiger engine for the instance, including
  • The size of data read to the cache.
  • The capacity of the disk with data written from the cache.
  • The configured maximum available disk capacity.
Master-slave Delay Collect the synchronization delay information between the master and the slave nodes of the instance.
WT Request Queue View the number of concurrent read and write requests and the number of available concurrent requests, including
  • Number of concurrent write requests.
  • Number of concurrent read requests.
  • Number of concurrent write requests that are available.
  • Number of concurrent read requests that are available.
IO Check Cost Reflect the current IO response performance.