通过本文您可以了解云数据库PolarDB的PostgreSQL版的监控项。

当您调用云监控的API接口时,需要获取当前云产品的NamespacePeriod,具体取值如下:

  • Namespaceacs_polardb
  • Period默认为60秒,也可以为60的整数倍。

当前云产品的MetricNameDimensions的取值如下表所示。

监控项 单位 MetricName Dimensions Statistics
pg活跃连接数 Count pg_active_connections userId、clusterId、instanceId Average
pg数据块读取数 Count pg_blks_read_delta userId、clusterId、instanceId Average
pg连接使用率 % pg_conn_usage userId、clusterId、instanceId Average
pg CPU使用率 % pg_cpu_total userId、clusterId、instanceId Average
pg数据库最大年龄 xids pg_db_age userId、clusterId、instanceId Average
pg内存使用率 % pg_mem_usage userId、clusterId、instanceId Average
pg数据盘大小 MB pg_pls_data_size userId、clusterId、instanceId Value
pg IOPS Frequency pg_pls_iops userId、clusterId、instanceId Average
pg读IOPS Frequency pg_pls_iops_read userId、clusterId、instanceId Average
pg写IOPS Frequency pg_pls_iops_write userId、clusterId、instanceId Average
pg WAL日志大小 MB pg_pls_pg_wal_dir_size userId、clusterId、instanceId Value
pg IO吞吐 MB/s pg_pls_throughput userId、clusterId、instanceId Average
pg读IO吞吐 MB/s pg_pls_throughput_read userId、clusterId、instanceId Average
pg写IO吞吐 MB/s pg_pls_throughput_write userId、clusterId、instanceId Average
pg事务回滚率 % pg_rollback_ratio userId、clusterId、instanceId Average
pg膨胀点 S pg_swell_time userId、clusterId、instanceId Average
pg TPS Frequency pg_tps userId、clusterId、instanceId Average