This topic describes the metrics and their corresponding indicators of ApsaraDB for MongoDB replica set 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 60. Default value: 60. Unit: seconds.
The following table describes the valid values of the MetricName and Dimensions parameters.
Metric in alert rules | Indicator | Unit | MetricName | Dimensions | Statistics |
---|---|---|---|---|---|
CPU utilization | cpu_usage | % | CPUUtilization | userId, instanceId, and role | Maximum, Minimum, and Average |
Number of used connections | current_conn | Count | ConnectionAmount | userId, instanceId, and role | Maximum, Minimum, and Average |
Connection usage | conn_usage | % | ConnectionUtilization | userId, instanceId, and role | Maximum, Minimum, and Average |
Disk size occupied by data | data_size | Byte | DataDiskAmount | userId, instanceId, and role | Maximum, Minimum, and Average |
Disk usage | disk_usage | % | DiskUtilization | userId, instanceId, and role | Maximum, Minimum, and Average |
IOPS usage | iops_usage | % | IOPSUtilization | userId, instanceId, and role | Maximum, Minimum, and Average |
Disk size occupied by instances | ins_size | Byte | InstanceDiskAmount | userId, instanceId, and role | Maximum, Minimum, and Average |
Internal inbound traffic | bytes_in | Byte | IntranetIn | userId, instanceId, and role | Maximum, Minimum, and Average |
Internal outbound traffic | bytes_out | Byte | IntranetOut | userId, instanceId, and role | Maximum, Minimum, and Average |
Disk size occupied by logs | log_size | Byte | LogDiskAmount | userId, instanceId, and role | Maximum, Minimum, and Average |
Memory usage | mem_usage | % | MemoryUtilization | userId, instanceId, and role | Maximum, Minimum, and Average |
Number of requests | num_requests | Count | NumberRequests | userId, instanceId, and role | Maximum, Minimum, and Average |
Number of command operations | command | Count/s | OpCommand | userId, instanceId, and role | Maximum, Minimum, and Average |
Number of delete operations | delete | Count/s | OpDelete | userId, instanceId, and role | Maximum, Minimum, and Average |
Number of getMore operations | getmore | Count/s | OpGetmore | userId, instanceId, and role | Maximum, Minimum, and Average |
Number of insert operations | insert | Count/s | OpInsert | userId, instanceId, and role | Maximum, Minimum, and Average |
Number of query operations | query | Count/s | OpQuery | userId, instanceId, and role | Maximum, Minimum, and Average |
Number of update operations | update | Count/s | OpUpdate | userId, instanceId, and role | Maximum, Minimum, and Average |
Queries per second (QPS) | insert+delete+update+query+getmore+command | Count/s | QPS | userId, instanceId, and role | Maximum, Minimum, and Average |
Replication lag | repl_lag | Seconds | ReplicationLag | userId, instanceId, and role | Maximum, Minimum, and Average |