Posted On: Sep 20, 2023

Amazon CloudWatch announces support of a new Metric Math function called DB_PERF_INSIGHTS() to create CloudWatch alarms and dashboards on Amazon RDS Performance Insights metrics.

RDS Performance Insights is a database performance tuning tool that helps you quickly assess the load on your database, and determine when and where to take action. CloudWatch Metric Math enables you to query multiple CloudWatch metrics and use Math expressions to create new time series based on these metrics. With this new Metric Math function for RDS Performance Insights, you can query, alarm and graph on RDS Performance Insights metrics from CloudWatch.

You can use the new Metric Math function by clicking on the “Add Math” drop-down menu in the “Select metric” screen in the CloudWatch console. You can use it to create alarms and graphs on Performance Insights metrics or on combinations of CloudWatch and Performance Insights metrics, including high-resolution alarms for sub-minute metrics. Alternatively, you can use the new function programmatically by including the Metric Math expression in a request to CloudWatch’s GetMetricData API.

The new Metric Math function is now available in the Amazon Web Services China (Beijing) Region, operated by Sinnet, and in the Amazon Web Services China (Ningxia) Region, operated by NWCD. To learn more about CloudWatch Metric Math, please refer to CloudWatch’s official documentation. To learn more about CloudWatch pricing, refer to the Amazon CloudWatch pricing page.