This topic describes the metrics for ApsaraDB RDS for PostgreSQL instances with disks.
When you call an API operation provided by CloudMonitor, set the Namespace and Period parameters.
- Set the Namespace parameter to acs_rds_dashboard.
- 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 | Unit | MetricName | Dimensions | Statistics |
---|---|---|---|---|
PG_DBAge | xids | PG_DBAge | userId and instanceId | Average, Maximum, and Minimum |
PG_InactiveSlots | Count | PG_InactiveSlots | userId and instanceId | Average, Maximum, and Minimum |
PG_MaxExecutingSQLTime | Second | PG_MaxExecutingSQLTime | userId and instanceId | Average, Maximum, and Minimum |
PG_MaxSlotWalDelay | MB | PG_MaxSlotWalDelay | userId and instanceId | Average, Maximum, and Minimum |
PG_RO_ReadLag | Second | PG_RO_ReadLag | userId and instanceId | Average |
PG_RO_StreamingStatus | Value | PG_RO_StreamingStatus | userId and instanceId | Average |
PG_ReplayLatency | MB | PG_ReplayLatency | userId and instanceId | Average, Maximum, and Minimum |
PG_SwellTime | Second | PG_SwellTime | userId and instanceId | Average, Maximum, and Minimum |
PG_ActiveConnectionsPerCpu | Count | active_connections_per_cpu | userId and instanceId | Average |
PG_ConnectionsUtilization | % | conn_usgae | userId and instanceId | Average |
PG_CPUUtilization | % | cpu_usage | userId and instanceId | Average |
PG_FiveSecondsExecutingSqls | Count | five_seconds_executing_sqls | userId and instanceId | Average, Minimum, and Maximum |
PG_IOPSUtilization | % | iops_usage | userId and instanceId | Average |
PG_INODEUtilization | % | local_fs_inode_usage | userId and instanceId | Average |
PG_DISKUtilization | % | local_fs_size_usage | userId and instanceId | Average |
PG_MemoryUtilization | % | mem_usage | userId and instanceId | Average |
PG_OneSecondExecutingSqls | Count | one_second_executing_sqls | userId and instanceId | Average, Minimum, and Maximum |
PG_ThreeSecondsExecutingSqls | Count | three_seconds_executing_sqls | userId and instanceId | Average, Minimum, and Maximum |