Metrics and system events

更新时间:
复制 MD 格式

AnalyticDB for PostgreSQL integrates with CloudMonitor to expose metrics and system events for monitoring instance health and triggering alerts.

Metrics

The tables below list the metrics available for each storage mode, along with recommended alert settings. To configure alerts based on these metrics, see Configure an alert rule. To reuse alert settings across instances, see Configure an alert template.

Elastic storage mode

MetricUnitDescriptionRecommended alert periodRecommended threshold
adbpg_conn_countN/ANumber of active connections to the instance.1-minute period, continue for 5 periodsAverage >= 90% of the maximum allowed connections. For example, a 2-core 16 GB instance allows up to 550 connections — set the threshold to 495. For maximum connection limits by instance type, see Limits.
node_cpu_used_percent%CPU usage percentage of a node.1-minute period, continue for 5 periodsAverage >= 90%
node_disk_iopsN/ADisk I/O operations per second of a node.None
node_disk_used_percent%Disk usage percentage of a node.1-minute period, continue for 5 periodsMax >= 80%
node_mem_used_percent%Memory usage percentage of a node.1-minute period, continue for 5 periodsAverage >= 90%

Reserved storage mode

MetricUnitDescriptionRecommended alert periodRecommended threshold
ConnectionUsage%Connection usage as a percentage of the maximum allowed connections.1-minute period, continue for 5 periodsAverage >= 90%
CpuUsage%CPU usage percentage of the instance.1-minute period, continue for 5 periodsAverage >= 90%
DiskUsage%Disk usage percentage of the instance.1-minute period, continue for 5 periodsAverage >= 80%
IOPSUsage%IOPS usage as a percentage of the maximum IOPS.1-minute period, continue for 5 periodsAverage >= 90%
MemoryUsage%Memory usage percentage of the instance.1-minute period, continue for 5 periodsAverage >= 90%

System events

All AnalyticDB for PostgreSQL system events are of type Exception, status Failed, and level Critical. Each event triggers when the monitored resource crosses its defined threshold.

EventDescription
ComputeGroupCpuHighCPU usage of a compute group exceeds 90%.
ComputeGroupMemoryHighMemory usage of a compute group exceeds 85%.
HighCoumputeGroupDiskUsedDisk usage of a compute group exceeds 80%.
InstanceDownThe instance is unavailable.
LongTransactionThe number of long-running transactions is greater than or equal to 5.
MasterCpuHighCPU usage of the master node exceeds 90%.
MasterMemoryHighMemory usage of the master node exceeds 85%.
NonSuperConnectionThe proportion of connections with an instance exceeds 80%.