Configuring Displayed Metrics
The Agent of an RDS DB instance monitors the metrics and status of the DB instance only and does not collect other data except the monitoring metrics.
Description
This section describes the metrics that can be monitored by Cloud Eye as well as their namespaces and dimensions. You can use APIs provided by Cloud Eye to query the monitoring metrics and alarms generated for RDS.
Namespace
SYS.RDS
DB Instance Monitoring Metrics
- Table 1 lists the performance metrics of PostgreSQL databases.
Table 1 Database performance metrics Metric
Name
Description
Value Range
Monitored Object
Monitoring Interval (Raw Data)
rds001_cpu_util
CPU Usage
CPU usage of the monitored object
0-100%
Monitored object: ECS
Monitored instance type: PostgreSQL instance
1 minute
rds002_mem_util
Memory Usage
Memory usage of the monitored object
0-100%
Monitored object: ECS
Monitored instance type: PostgreSQL instance
1 minute
rds003_iops
IOPS
Average number of I/O requests processed by the system in a specified period
≥ 0 counts/s
Monitored object: ECS
Monitored instance type: PostgreSQL instance
1 minute
rds004_bytes_in
Network Input Throughput
Incoming traffic in bytes per second
≥ 0 bytes/s
Monitored object: ECS
Monitored instance type: PostgreSQL instance
1 minute
rds005_bytes_out
Network Output Throughput
Outgoing traffic in bytes per second
≥ 0 bytes/s
Monitored object: ECS
Monitored instance type: PostgreSQL instance
1 minute
rds039_disk_util
Storage Space Usage
Storage space usage of the monitored object
0-100%
Monitored object: ECS
Monitored instance type: PostgreSQL instance
1 minute
rds040_transaction_logs_usage
Transaction Logs Usage
Storage space usage of transaction logs
≥ 0 MB
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds041_replication_slot_usage
Replication Slot Usage
Storage space usage of replication slot files
≥ 0 MB
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds042_database_connections
Database Connections in Use
Number of database connections in use
≥ 0 counts
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds043_maximum_used_transaction_ids
Maximum Used Transaction IDs
Maximum number of transaction IDs that have been used
≥ 0 counts
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds044_transaction_logs_generations
Transaction Logs Generation
Size of transaction logs generated per second
≥ 0 MB/s
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds045_oldest_replication_slot_lag
Oldest Replication Slot Lag
Lagging size of the most lagging replica in terms of WAL data received
≥ 0 MB
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds046_replication_lag
Replication Lag
Replication lag
≥ 0 ms
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds047_disk_total_size
Total Storage Space
Total storage space of the monitored object
40–4,000 GB
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds048_disk_used_size
Used Storage Space
Used storage space of the monitored object
0–4,000 GB
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds049_disk_read_throughput
Disk Read Throughput
Number of bytes read from the disk per second
≥ 0 bytes/s
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds050_disk_write_throughput
Disk Write Throughput
Number of bytes written into the disk per second
≥ 0 bytes/s
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds051_avg_disk_sec_per_read
Average Time per Disk Read (to be deprecated)
Average time required for each disk read in a specified period
> 0s
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds052_avg_disk_sec_per_write
Average Time per Disk Write (to be deprecated)
Average time required for each disk write in a specified period
> 0s
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds081_qps
QPS
Query times of SQL statements (including stored procedures) per second
≥ 0 counts/s
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds082_tps
TPS
Execution times of submitted and rollback transactions per second
≥ 0 counts/s
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
rds083_conn_usage
Connection Usage
Percent of used PostgreSQL connections to the total number of connections
0-100%
Monitored object: database
Monitored instance type: PostgreSQL instance
1 minute
- Table 2 lists the metrics of PostgreSQL database proxy.
Table 2 Database proxy metrics Metric
Name
Description
Value Range
Monitored Object
Monitoring Interval (Raw Data)
rds001_cpu_util
CPU Usage
CPU usage of the monitored object
0-100%
Monitored object: PostgreSQL proxy
Monitored instance type: PostgreSQL proxy instance
1 minute
rds002_mem_util
Memory Usage
Memory usage of the monitored object
0-100%
Monitored object: PostgreSQL proxy
Monitored instance type: PostgreSQL proxy instance
1 minute
rds004_bytes_in
Network Input Throughput
Incoming traffic in bytes per second
≥ 0 bytes/s
Monitored object: PostgreSQL proxy
Monitored instance type: PostgreSQL proxy instance
1 minute
rds005_bytes_out
Network Output Throughput
Outgoing traffic in bytes per second
≥ 0 bytes/s
Monitored object: PostgreSQL proxy
Monitored instance type: PostgreSQL proxy instance
1 minute
max_conn
Total Connections
Maximum number of PostgreSQL proxy connections. The value is the total number of lines in the show pool_pools command output, or the product of num_init_children, max_pool, and nodes.
≥ 0 counts
Monitored object: PostgreSQL proxy
Monitored instance type: PostgreSQL proxy instance
1 minute
active_conn
Active Connections
Number of frontend connections. The value is the total number of lines where pool_connected is 1 in the show pool_pools command output.
≥ 0 counts
Monitored object: PostgreSQL proxy
Monitored instance type: PostgreSQL proxy instance
1 minute
idle_conn
Idle Connections
Number of connections established only between the PostgreSQL proxy and databases. The value is the total number of lines where pool_backendpid is not 0 and pool_connected is 0 in the show pool_pools command output.
≥ 0 counts
Monitored object: PostgreSQL proxy
Monitored instance type: PostgreSQL proxy instance
1 minute
unused_conn
Unused Connections
Number of connections that are neither established between the PostgreSQL proxy and databases nor established between the PostgreSQL proxy and clients. The value is the total number of lines where pool_backendpid is 0 and pool_connected is 0 in the show pool_pools command output.
≥ 0 counts
Monitored object: PostgreSQL proxy
Monitored instance type: PostgreSQL proxy instance
1 minute
pool_counter
Connection Usage Times
Number of times the client uses connection pools. The value is the sum of the pool_counter values in the show pool_pools command output.
≥ 0 counts
Monitored object: PostgreSQL proxy
Monitored instance type: PostgreSQL proxy instance
1 minute
master_slave_read_ratio
Read Ratio of Primary Node
Proportion of read queries on a primary PostgreSQL DB instance. The default value is 0.
0-100%
Monitored object: PostgreSQL proxy
Monitored instance type: PostgreSQL proxy instance
1 minute
Dimension
| Key | Value |
|---|---|
| postgresql_cluster_id | PostgreSQL DB instance ID |
| dbproxy_instance_id | PostgreSQL proxy instance ID |
| dbproxy_node_id | PostgreSQL proxy node ID |
Last Article: Metrics and Alarms
Next Article: Setting Alarm Rules
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.