Important
Enable the AWS CloudWatch Metric Streams integration to monitor all CloudWatch metrics from your AWS services, including custom namespaces. Individual integrations are no longer our recommended option.
New Relic infrastructure integrations include an integration for reporting your Amazon Web Services RDS data to New Relic. This document explains how to activate this integration and describes the data that can be reported.
New Relic also offers an integration for enhanced RDS monitoring.
Features
Amazon's Relational Database Service (RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the cloud. It provides cost-efficient, resizable capacity for an industry-standard relational database and manages common database administration tasks.
New Relic's RDS monitoring integration gathers metric and configuration data for the relational databases associated with your Amazon RDS account. Your RDS data is available in pre-built dashboards and you can also create custom queries and charts in New Relic One. You can create alert conditions for RDS data, and use the reported data to plan for future RDS capacity.
Activate integration
To enable this integration follow standard procedures to Connect AWS services to New Relic.
Configuration and polling
You can change the polling frequency and filter data using configuration options.
Default polling information for the Amazon RDS integration:
- New Relic polling interval: 5 minutes
- Amazon CloudWatch data interval: 1 minute for RDS instances; 5 minutes for RDS clusters
Find and use data
To find your integration data, go to one.newrelic.com > Infrastructure > AWS and select one of the RDS integration links.
You can query and explore your data using the DatastoreSample
event type, with a provider
value of RdsDbInstance
for DB instances, or RdsDbCluster
for Aurora DB clusters.
For more on how to use your data, see Understand and use integration data.
Metric data
This integration collects Amazon RDS data for clusters and also for instances. Some RDS instance metrics are distinct for cluster instances and stand-alone instances.
RDS cluster metric data
Name | Description |
---|---|
| Volume bytes used. |
| Volume read IOPs. |
| Volume write IOPs. |
RDS instance common metric data
Metric | Description |
---|---|
| The number of CPU credits consumed during the specified period. |
| The number of CPU credits that an instance has accumulated. |
| The percentage of CPU used by a DB instance. |
| The number of connections to an instance. |
| The number of outstanding read/write requests waiting to access the disk. |
| The amount of available random access memory, in bytes. |
| The age of the oldest unvacuumed transaction ID, in transactions. |
| The amount of network throughput received from clients by each instance in the Aurora MySQL DB cluster, in bytes per second. |
| The amount of network throughput sent to clients by each instance in the Aurora DB cluster, in bytes per second. |
| The average amount of time taken per disk I/O operation, in seconds. |
| The average number of bytes read from disk per second. |
| The amount of swap space used on the Aurora PostgreSQL DB instance, in bytes. |
| The amount of disk space occupied by transaction logs on the Aurora PostgreSQL DB instance, in bytes. |
RDS cluster instance data
Metric | Description |
---|---|
| The average number of current transactions executing on an Aurora database instance per second. |
| For an Aurora Replica, the amount of lag when replicating updates from the primary instance, in milliseconds. |
| The maximum amount of lag between the primary instance and each Aurora DB instance in the DB cluster, in milliseconds. |
| The minimum amount of lag between the primary instance and each Aurora DB instance in the DB cluster, in milliseconds. |
| The number of backtrack change records created over five minutes for your DB cluster. |
| The actual number of backtrack change records used by your DB cluster. |
| The difference between the target backtrack window and the actual backtrack window. |
| The number of times that the actual backtrack window is smaller than the target backtrack window for a given period of time. |
| The average number of transactions in the database that are blocked per second. |
| The percentage of requests that are served by the buffer cache. |
| The amount of latency for commit operations, in milliseconds. |
| The average number of commit operations per second. |
| The amount of latency for data definition language (DDL) requests, in milliseconds—for example, create, alter, and drop requests. |
| The average number of DDL requests per second. |
| The average number of deadlocks in the database per second. |
| The amount of latency for delete queries, in milliseconds. |
| The average number of delete queries per second. |
| The amount of latency for inserts, updates, and deletes, in milliseconds. |
| The average number of inserts, updates, and deletes per second. |
| The amount of time that the instance has been running, in seconds. |
| This metric, displayed under the SQL category of the latest metrics view in the Amazon RDS console, does not apply to Amazon Aurora. |
| The amount of storage available for temporary tables and logs, in bytes. |
| The amount of latency for insert queries, in milliseconds. |
| The average number of insert queries per second. |
| The average number of failed login attempts per second. |
| The amount of network throughput both received from and transmitted to clients by each instance in the Aurora MySQL DB cluster, in bytes per second. |
| The average number of queries executed per second. |
| The amount of lag in seconds when replicating updates from the primary RDS PostgreSQL instance to other nodes in the cluster. |
| The percentage of requests that are served by the Resultset cache. |
| The amount of latency for select queries, in milliseconds. |
| The average number of select queries per second. |
| Total number of connections to the database instance. |
| The amount of latency for update queries, in milliseconds. |
| The average number of update queries per second. |
| The number of billed read I/O operations from a cluster volume, reported at 5-minute intervals. |
| The number of write disk I/O operations to the cluster volume, reported at 5-minute intervals. |
RDS stand-alone instance data
Metric | Description |
---|---|
| Specifies the allocated storage size, in bytes. Note this data doesn't come from an AWS CloudWatch metric, but from the |
| The amount of disk space occupied by binary logs on the master, in bytes. |
| The number of outstanding read/write requests waiting to access the disk. |
| The amount of storage available for tables and logs, in bytes. |
| The age of the oldest unvacuumed transaction ID, in transactions. |
| Shows how far behind in seconds the most lagging replica is in terms of WAL data received. |
| The average number of disk I/O operations per second. |
| The average amount of time taken per disk I/O operation. |
| The average number of bytes read from disk per second. |
| The amount of lag when replicating updates from the primary instance, in milliseconds. |
| The amount of disk space occupied by replication slots. |
| The amount of swap space used on the Aurora PostgreSQL DB instance, in bytes. |
| The amount of disk space occupied by transaction logs on the Aurora PostgreSQL DB instance. |
| How much storage is being used for WAL data. |
| The average number of disk I/O operations per second. |
| The average amount of time taken per disk I/O operation. |
| The average number of bytes written to disk per second. |
Inventory data
EOL NOTICE
After March 2022, we're discontinuing support for several capabilities, including inventory data for cloud integrations. For more details, including how you can easily prepare for this transition, see our Explorers Hub post.
This integration supports the following RDS inventory data. For more about inventory data, see Understand integration data.
Tip
Tags (indicated with an *) are only fetched when tags collection is on.
aws/rds/cluster
Name | Description |
---|---|
| The storage space allocated to this instance, in gibibytes. |
| Boolean. If |
| The RDS availability zone for this instance. |
| The RDS region for this instance. |
| Count of the number of days RDS preserves automated backups for this instance. |
| The CA certificate for this instance. |
| The DB instance class for this instance. |
| Integer representing the port where this instance listens for traffic. If the instance is part of a cluster, this port may not be the port assigned to the overall database cluster. |
| The DB instance status for this instance. |
| The meaning of this configuration option depends on the database engine:
|
| JSON string that lists DB parameter groups for this instance. |
| JSON string that lists DB security groups for this instance. Only collects data from the |
| JSON string that lists details about the instance's DB subnet group, including the name and description for each subnet in the subnet group. |
| The name of the database engine running on this instance. |
| The version identifier for the database engine running on this instance. |
| The license identifier for the database engine running on this instance. For example, |
| Boolean. If |
| JSON string that lists any option group memberships for this instance. |
| Boolean. If If |
| If present, indicates the name of the secondary availability zone for a multi-availability-zone deployment. |
| Boolean. If |
| Indicates the RDS storage type for this instance. |
| JSON string that lists the VPC security groups for this instance. |
| Cluster tags. |
aws/rds/instance
Name | Description |
---|---|
| The AWS region that the instance was provisioned in. |
| Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance. |
| Specifies the allocated storage size, in gibibytes. |
| Indicates that minor version patches are applied automatically. |
| Specifies the name of the Availability Zone the DB instance is located in. |
| Specifies the number of days for which automatic DB snapshots are retained. |
| The identifier of the CA certificate for this DB instance. |
| If present, specifies the name of the character set that this instance is associated with. |
| If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is member of. |
| Contains the name of the compute and memory capacity class of the DB instance. |
| Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port. |
| Specifies the current state of this database. |
| Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance. |
| Provides the list of DB parameter groups applied to this DB instance. |
| Provides List of DB security group elements. |
| Provides the list of DB parameter groups. |
| Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group. |
| Specifies the connection endpoint. |
| Provides the name of the database engine to be used for this DB instance. |
| Indicates the database engine version. |
| If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB instance. |
| License model information for this DB instance. |
| Contains the master username for the DB instance. |
| Specifies if the DB instance is a Multi-AZ deployment. |
| Provides the list of option group memberships for this DB instance. |
| Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. |
| Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). |
| Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address. |
| Contains one or more identifiers of the Read Replicas associated with this DB instance. |
| Contains the identifier of the source DB instance if this DB instance is a Read Replica. |
| If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support. |
| Specifies whether the DB instance is encrypted. |
| Specifies the storage type associated with DB instance. |
| The ARN from the key store with which the instance is associated for TDE encryption. |
| Provides a list of VPC security group elements that the DB instance belongs to. |
| If the instance is a cluster or not. |
| Instance tags. |