Posted On: Jul 29, 2021
Amazon CloudWatch announces support for the trimmed mean statistic on CloudWatch Metrics. With trimmed mean statistics, customers gain visibility on the average performance of a metric without the noise of outliers. Trends in average performance represented by the trimmed mean can be visualized on CloudWatch Dashboards or used to set thresholds in alarms for proactive alerting.
CloudWatch Metrics already support statistics such as percentiles, which allow customers to monitor the worst value for a selected range, for example 95% or 99%, of the data. Trimmed mean statistics allow customers to monitor the average value for the selected percentage of data, giving a more accurate view of the users’ experience than a single percentile. This makes it particularly useful to monitor performance indicators such as latency.
For example, monitoring the tm99 would allow you to measure the average customer experience using 99% of the data and discarding only the highest 1% values, which are often skewed by outliers. Using trimmed mean statistics to monitor applications enables customers to gain visibility on a more representative sample of performance metrics that are sensitive to variations which cannot be detected by monitoring percentiles. It thus makes performance improvements visible, helping address worsening tendencies early.
With this launch, Amazon CloudWatch also adds support for percentile rank, which allows customers to determine the percentage of data measurements that meet a given threshold, and four other statistics: winsorized mean, interquartile mean, trimmed count, and trimmed sum.
The trimmed mean statistic is available in all AWS public regions, including AWS GovCloud. Standard CloudWatch custom metrics and alarm pricing applies – see pricing page for details. To get started, select a metric from the CloudWatch console and click on View graphed metrics. Under the graph, click on the TM entry in the Statistic dropdown to monitor the average over 90% of your data. Adjust this percentage to customize to your needs.
To learn more on those new statistics, please refer to our documentation.