All Products
Search
Document Center

ApsaraDB for MongoDB:Instance monitoring

Last Updated:Jul 17, 2026

Instance monitoring tracks the resource status of each node in an ApsaraDB for MongoDB instance. You can view metrics such as CPU utilization and memory usage across multiple nodes by selecting dimensions such as instance components and node roles.

Instance monitoring provides two modes to query aggregated monitoring data:

  • Multi-node Monitoring: Averages the metric values of multiple nodes within the selected scope and displays the aggregated result, giving you an overall view across dimensions.

  • Per-node Monitoring: Displays metric values for each selected node separately, allowing you to compare individual node performance.

Usage notes

MongoDB standalone instances do not support viewing IOPS usage and IOPS utilization. For these instances, the IOPS usage and IOPS utilization metrics on the Monitoring Data page always display 0 and do not reflect actual IOPS data.

Collection granularity

The collection granularity is the time interval between data points. Supported values are 1 minute, 10 minutes, 30 minutes, 1 hour, and 1 day.

The available collection granularity options depend on the selected time range, as described in the following table:

Time range

Min granularity

Max granularity

≥ 1 minute and ≤ 10 minutes

1 minute

1 minute

> 10 minutes and ≤ 20 minutes

1 minute

10 minutes

> 20 minutes and ≤ 1 hour

1 minute

30 minutes

> 1 hour and ≤ 1 day

1 minute

1 hour

> 1 day and ≤ 7 days

30 minutes

1 day

> 7 days and ≤ 30 days

1 day

1 day

For example, if you set the time range to 1 day and the collection granularity to 1 minute, the monitoring chart displays 1,440 data points.

Note

Select an appropriate time range and collection granularity. If the selected time range is shorter than two collection intervals, the monitoring chart displays only a single data point instead of a line.

Procedure

  1. Go to the ApsaraDB for MongoDB Replica Set Instances page or the ApsaraDB for MongoDB Sharded Cluster Instances page. At the top of the page, select a resource group and a region, and then click the ID of the target instance.

  2. In the navigation pane on the left, click Monitoring Data.

  3. On the Instance Monitoring tab, in the upper-left corner, select Multi-node Monitoring or Per-node Monitoring.

  4. In the metrics panel on the right, select the metrics to display and drag to reorder them as needed.

  5. Based on the instance type, select the nodes for which you want to view monitoring data.

    Multi-node monitoring

    Replica set

    At the top of the page, the Multi-node Monitoring and Per-node Monitoring tabs let you switch display modes. You can also use the Columns setting (default is 2) to adjust the chart layout.

    Parameter

    Description

    Roles

    Select one or more roles, such as Primary, Secondary, or Readonly. The chart displays the average metric values across all nodes with the selected roles.

    Time Range

    Click the time range above the chart to change the monitoring period.

    • Data older than 30 days is not available.

    • The maximum time range for a single query is 7 days.

    Note

    If you select a long time range, the request may time out due to a large volume of data. In this case, shorten the time range.

    Collection granularity

    Click the collection granularity in the upper-left corner of the monitoring chart to change the collection granularity of the current monitoring data.

    Sharded cluster

    At the top of the page, you can switch between the Multi-node Monitoring and Per-node Monitoring tabs to change the viewing mode. The filter area also includes a Columns drop-down list to set the number of columns for the charts.

    Parameter

    Description

    Shard type

    Select a component: Mongos, Shard, or ConfigServer (CS).

    Use different filter combinations to view monitoring data for specific nodes. Examples:

    • Example 1: To view monitoring data for all roles across all shards, use the following combination.

      Set Shard type to Shard, Instance ID to Select All, and Roles to Select All.

    • Example 2: To view monitoring data for the Primary role in a specific shard, use the following combination.

      Set Shard type to Shard, select the desired shard from the Instance ID list, and set Roles to Primary.

    The chart displays the average metric values across all nodes within the selected scope.

    Instance ID (shard ID)

    Select one or more instance IDs (shard IDs).

    Roles

    Select one or more roles.

    Time Range

    Click the time range above the chart to change the monitoring period.

    Note

    If you select a long time range, the request may time out due to a large volume of data. In this case, shorten the time range.

    Collection granularity

    Click collection granularity in the upper-left corner of the monitoring chart to change the collection granularity of the current monitoring data.

    Per-node monitoring

    Note

    You can select up to five nodes at a time.

    Replica set

    Parameter

    Description

    Node

    Select one or more nodes to view or compare. The chart displays the monitoring data for each selected node side by side.

    Time Range

    Click the time range above the chart to change the monitoring period.

    • Data older than 30 days is not available.

    • The maximum time range for a single query is 7 days.

    Note

    If you select a long time range, the request may time out due to a large volume of data. In this case, shorten the time range.

    Collection granularity

    Click Collection Granularity in the upper-left corner of the monitoring chart to change the collection granularity of the current monitoring data.

    Sharded cluster

    At the top of the page, you can switch between the Multi-node Monitoring and Per-node Monitoring viewing modes. You can also use the Columns setting to adjust the chart layout.

    Parameter

    Description

    Shard type

    Select the Mongos, Shard, or ConfigServer (CS) component.

    Node

    Select one or more nodes to view or compare. The chart displays the monitoring data for each selected node side by side.

    Time Range

    Click the time range above the chart to change the monitoring period.

    Note

    If you select a long time range, the request may time out due to a large volume of data. In this case, shorten the time range.

    Collection granularity

    Click the collection granularity in the upper-left corner of the monitoring chart to change the collection granularity of the current monitoring data.

  6. View the monitoring data.

    • Hover over a data point on a chart to view the detailed metric values at that time.

    • Click the 详情图标 icon in the upper-left corner of a chart to view the metric description. For more information about metrics, see Monitoring items.

    • Click the 展开图标 icon in the upper-right corner of a chart to view it in full-screen mode.

Related documents

Monitoring items