Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
Support aurora pg16 (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyic authored Mar 13, 2024
1 parent cf07afb commit 2cd702a
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 1 deletion.
2 changes: 1 addition & 1 deletion agent_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# TODO: move this elsewhere and have it pull from git tags as source of truth
AGENT_VERSION = "0.5.8"
AGENT_VERSION = "0.5.9"
114 changes: 114 additions & 0 deletions driver/config/cloudwatch_metrics/rds_aurora_postgresql-16.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
[
{
"name": "AuroraReplicaLag",
"description": "For an Aurora replica, the amount of lag when replicating updates from the primary instance."
},
{
"name": "AuroraReplicaLagMaximum",
"description": "The maximum amount of lag between the primary instance and each Aurora DB instance in the DB cluster."
},
{
"name": "AuroraReplicaLagMinimum",
"description": "The minimum amount of lag between the primary instance and each Aurora DB instance in the DB cluster."
},
{
"name": "BufferCacheHitRatio",
"description": "The percentage of requests that are served by the buffer cache."
},
{
"name": "CPUCreditBalance",
"description": "The number of CPU credits that an instance has accumulated, reported at 5-minute intervals. You can use this metric to determine how long a DB instance can burst beyond its baseline performance level at a given rate.\n\nThis metric applies only to db.t2.small and db.t2.medium instances for Aurora MySQL, and to db.t3 instances for Aurora PostgreSQL."
},
{
"name": "CPUCreditUsage",
"description": "The number of CPU credits consumed during the specified period, reported at 5-minute intervals. This metric measures the amount of time during which physical CPUs have been used for processing instructions by virtual CPUs allocated to the DB instance.\n\nThis metric applies only to db.t2.small and db.t2.medium instances for Aurora MySQL, and to db.t3 instances for Aurora PostgreSQL."
},
{
"name": "CPUUtilization",
"description": "The percentage of CPU used by an Aurora DB instance."
},
{
"name": "CommitLatency",
"description": "The average duration of commit operations."
},
{
"name": "CommitThroughput",
"description": "The average number of commit operations per second."
},
{
"name": "DatabaseConnections",
"description": "The current number of connections to an Aurora DB instance."
},
{
"name": "Deadlocks",
"description": "The average number of deadlocks in the database per second."
},
{
"name": "DiskQueueDepth",
"description": "The number of outstanding read/write requests waiting to access the disk."
},
{
"name": "EngineUptime",
"description": "The amount of time that the instance has been running."
},
{
"name": "FreeLocalStorage",
"description": "The amount of local storage available.\n\nUnlike for other DB engines, for Aurora DB instances this metric reports the amount of storage available to each DB instance. This value depends on the DB instance class (for pricing information, see the Amazon RDS product page). You can increase the amount of free storage space for an instance by choosing a larger DB instance class for your instance."
},
{
"name": "FreeableMemory",
"description": "The amount of available random access memory."
},
{
"name": "MaximumUsedTransactionIDs",
"description": "The age of the oldest unvacuumed transaction ID, in transactions. If this value reaches 2,146,483,648 (2^31 - 1,000,000), the database is forced into read-only mode, to avoid transaction ID wraparound. For more information, see Preventing transaction ID wraparound failures in the PostgreSQL documentation."
},
{
"name": "NetworkReceiveThroughput",
"description": "The amount of network throughput received from clients by each instance in the Aurora MySQL DB cluster. This throughput doesn't include network traffic between instances in the Aurora DB cluster and the cluster volume."
},
{
"name": "NetworkThroughput",
"description": "The amount of network throughput both received from and transmitted to clients by each instance in the Aurora MySQL DB cluster. This throughput doesn't include network traffic between instances in the DB cluster and the cluster volume."
},
{
"name": "NetworkTransmitThroughput",
"description": "The amount of network throughput sent to clients by each instance in the Aurora DB cluster. This throughput doesn't include network traffic between instances in the DB cluster and the cluster volume."
},
{
"name": "RDSToAuroraPostgreSQLReplicaLag",
"description": "The lag when replicating updates from the primary RDS PostgreSQL instance to other nodes in the cluster."
},
{
"name": "ReadIOPS",
"description": "The average number of disk I/O operations per second.\n\nAurora PostgreSQL-Compatible Edition reports read and write IOPS separately, in 1-minute intervals."
},
{
"name": "ReadLatency",
"description": "The average amount of time taken per disk I/O operation."
},
{
"name": "ReadThroughput",
"description": "The average number of bytes read from disk per second."
},
{
"name": "SwapUsage",
"description": "The amount of swap space used. This metric is available for the Aurora PostgreSQL instance classes db.t3.medium, db.r5.large, db.r5.xlarge, db.r4.large, and db.r4.xlarge. For Aurora MySQL, this metric applies only to db.t* instances."
},
{
"name": "TransactionLogsDiskUsage",
"description": "The amount of disk space consumed by transaction logs on the Aurora PostgreSQL DB instance.\n\nThis metric is only generated when Aurora PostgreSQL is using logical replication or AWS Database Migration Service. By default, Aurora PostgreSQL uses log records, not transaction logs. When transaction logs aren't in use, the value for this metric is -1."
},
{
"name": "WriteIOPS",
"description": "The average number of disk I/O operations per second. Aurora PostgreSQL reports read and write IOPS separately, at 1-minute intervals."
},
{
"name": "WriteLatency",
"description": "The average amount of time taken per disk I/O operation."
},
{
"name": "WriteThroughput",
"description": "The average number of bytes written to persistent storage every second."
}
]

0 comments on commit 2cd702a

Please sign in to comment.