This topic describes the metrics and their corresponding indicators of ApsaraDB for MongoDB sharded cluster instances.

When you call an API operation provided by CloudMonitor, set the Namespace and Period parameters.

  • Set the Namespace parameter to acs_mongodb.
  • Set the Period parameter to an integral multiple of 60s. The default value is 60s.

The following table describes the valid values of the MetricName and Dimensions parameters.

Metric in alert rulesIndicatorUnitMetricNameDimensionsStatistics
Metric in alert rules Indicator Unit MetricName Dimensions Statistics
Number of command operations command Count/s ShardingOpCommand userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Number of delete operations delete Count/s ShardingOpDelete userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Disk size occupied by logs log_size Bytes ShardingLogDiskAmount userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Memory usage mem_usage % ShardingMemoryUtilization userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Number of requests num_requests Count ShardingNumberRequests userId, instanceId, subinstanceId, and role Average
IOPS usage iops_usage % ShardingIOPSUtilization userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Internal inbound traffic bytes_in Bytes ShardingIntranetIn userId, instanceId, subinstanceId, and role Average
Internal outbound traffic bytes_out Bytes ShardingIntranetOut userId, instanceId, subinstanceId, and role Average
Disk size occupied by data data_size Bytes ShardingDataDiskAmount userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
CPU utilization cpu_usage % ShardingCPUUtilization userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Number of connections current_conn Count ShardingConnectionAmount userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Connection usage conn_usage % ShardingConnectionUtilization userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Disk size occupied by instances ins_size Bytes ShardingInstanceDiskAmount userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Disk usage disk_usage % ShardingDiskUtilization userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Number of getMore operations getmore Count/s ShardingOpGetmore userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Number of insert operations on shard nodes insert Count/s ShardingOpInsert userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Number of query operations query Count/s ShardingOpQuery userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Number of update operations update Count/s ShardingOpUpdate userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Queries per second (QPS) insert+delete+update+query+getmore+command Count/s ShardingQPS userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum
Replication lag repl_lag Seconds ShardingReplicationLag userId, instanceId, subinstanceId, and role Average, Maximum, and Minimum