AWS Security ChangesHomeSearch

AWS AmazonCloudWatch documentation change

Service: AmazonCloudWatch · 2026-06-10 · Documentation low

File: AmazonCloudWatch/latest/monitoring/using-metric-math.md

Summary

Added new section about GetMetricData API usage, fixed typos in DB_PERF_INSIGHTS examples and function references, simplified headings, removed duplicate text in MIN function description, and reorganized section titles.

Security assessment

Changes are documentation improvements without security implications. The DB_PERF_INSIGHTS typo fix prevents potential user confusion but doesn't address a vulnerability. The GetMetricData addition is a feature update without security context. No security vulnerabilities, weaknesses, or incidents are referenced.

Diff

diff --git a/AmazonCloudWatch/latest/monitoring/using-metric-math.md b/AmazonCloudWatch/latest/monitoring/using-metric-math.md
index 214ddc97c..7885f6c23 100644
--- a//AmazonCloudWatch/latest/monitoring/using-metric-math.md
+++ b//AmazonCloudWatch/latest/monitoring/using-metric-math.md
@@ -7 +7 @@
-Add a math expression to a CloudWatch graphMetric math syntax and functionsUsing IF expressionsAnomaly detection on metric math
+Add a math expression to a CloudWatch graphMetric math syntax and functionsUsing IF expressionsUse metric math with the GetMetricData API operationAnomaly detection on metric math
@@ -9 +9 @@ Add a math expression to a CloudWatch graphMetric math syntax and functionsUsing
-# Using math expressions with CloudWatch metrics
+# Math expressions with metrics
@@ -157 +157 @@ For more information about Amazon RDS Performance Insights counter metrics, see
-High-resolution metrics with sub-minute granularity retrieved by **DB_PERF_INSIGHTS** are only applicable to the **DBLoad** metric, or for operating system metrics if you have enabled Enhanced Monitoring at a higher resolution. For more information about Amazon RDS enhanced monitoring, see [ Monitoring OS metrics with Enhanced Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html).You can create a high-resolution alarm using the **DB_PERF_INSIGHTS** function for a maximum time range of three hours. You can use the CloudWatch console to graph metrics retrieved with the **DB_PERF_INSIGHTS** function for any time range. |  **DB_PERF_INSIGHTS(‘RDS’, ‘db-ABCDEFGHIJKLMNOPQRSTUVWXY1’, ‘os.cpuUtilization.user.avg’)** **DB_PERF_INSIGHTS(‘DOCDB, ‘db-ABCDEFGHIJKLMNOPQRSTUVWXY1’, [‘os.cpuUtilization.idle.avg’, ‘os.cpuUtilization.user.max’])** |   
+High-resolution metrics with sub-minute granularity retrieved by **DB_PERF_INSIGHTS** are only applicable to the **DBLoad** metric, or for operating system metrics if you have enabled Enhanced Monitoring at a higher resolution. For more information about Amazon RDS enhanced monitoring, see [ Monitoring OS metrics with Enhanced Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html).You can create a high-resolution alarm using the **DB_PERF_INSIGHTS** function for a maximum time range of three hours. You can use the CloudWatch console to graph metrics retrieved with the **DB_PERF_INSIGHTS** function for any time range. |  **DB_PERF_INSIGHTS(‘RDS’, ‘db-ABCDEFGHIJKLMNOPQRSTUVWXY1’, ‘os.cpuUtilization.user.avg’)** **DB_PERF_INSIGHTS(‘DOCDB’, ‘db-ABCDEFGHIJKLMNOPQRSTUVWXY1’, [‘os.cpuUtilization.idle.avg’, ‘os.cpuUtilization.user.max’])** |   
@@ -186 +186 @@ We recommend that you do not use this function in CloudWatch alarms if you want
-**MIN** |  TS TS[] |  S TS | The **MIN** of a single time series returns a scalar representing the minimum value of all data points in the metric.  If you input an array of time series, the **MIN** function creates and returns a time series that consists of the lowest value for each data point, among the time series that were used as the input. If you input an array of time series, the **MIN** function creates and returns a time series that consists of the lowest value for each data point, among the time series that were used as the input. 
+**MIN** |  TS TS[] |  S TS | The **MIN** of a single time series returns a scalar representing the minimum value of all data points in the metric.  If you input an array of time series, the **MIN** function creates and returns a time series that consists of the lowest value for each data point, among the time series that were used as the input. 
@@ -389 +389 @@ The following examples illustrate the possible uses of the **IF** function.
-### Use metric math with the GetMetricData API operation
+## Use metric math with the GetMetricData API operation
@@ -407 +407 @@ Anomaly detection on metric math is a feature that you can use to create anomaly
-  * Expressions that use the **DP_PERF_INSIGHTS** function.
+  * Expressions that use the **DB_PERF_INSIGHTS** function.
@@ -426 +426 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please
-Using anomaly detection
+GetMetricWidgetImage: Metric Widget Structure and Syntax
@@ -428 +428 @@ Using anomaly detection
-Use search expressions in graphs
+Using anomaly detection