This topic describes the metrics for PolarDB for PostgreSQL.

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

  • Set the Namespace parameter to acs_polardb.
  • 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
pg_active_connections Count pg_active_connections userId, clusterId, and instanceId
BlockRead Count pg_blks_read_delta userId, clusterId, and instanceId
pg_conn_usage % pg_conn_usage userId, clusterId, and instanceId
pg_cpu_total % pg_cpu_total userId, clusterId, and instanceId
PG_DBAge xids pg_db_age userId, clusterId, and instanceId
PG_MemoryUtilization % pg_mem_usage userId, clusterId, and instanceId
pg_pls_data_size MB pg_pls_data_size userId, clusterId, and instanceId
pg IOPS Frequency pg_pls_iops userId, clusterId, and instanceId
pg_pls_iops_read Frequency pg_pls_iops_read userId, clusterId, and instanceId
pg_pls_iops_write Frequency pg_pls_iops_write userId, clusterId, and instanceId
pg_pls_pg_wal_dir_size MB pg_pls_pg_wal_dir_size userId, clusterId, and instanceId
pg_pls_throughput MB/s pg_pls_throughput userId, clusterId, and instanceId
pg_pls_throughput_read MB/s pg_pls_throughput_read userId, clusterId, and instanceId
pg_pls_throughput_write MB/s pg_pls_throughput_write userId, clusterId, and instanceId
pg_rollback_ratio % pg_rollback_ratio userId, clusterId, and instanceId
pg_swell_time s pg_swell_time userId, clusterId, and instanceId
pg TPS Frequency pg_tps userId, clusterId, and instanceId