Posted On: Nov 29, 2021

Metrics Insights is a new feature from Amazon CloudWatch that is in preview. As a fast, flexible, SQL based query engine, Metrics Insights enables developers, operators, systems engineers, and cloud solutions architects to identify trends and patterns across millions of operational metrics in real time and helps you use these insights to reduce time to resolution. With Metrics Insights, you can gain better visibility on your infrastructure and large scale application performance with flexible querying and on-the-fly metric aggregations. Use Metrics Insights and other CloudWatch features to monitor your AWS and hybrid environments, and to respond to operational problems promptly.

Metrics Insights provides you with a flexible query capability, where you can aggregate and group your metrics in real-time in order to identify issues quickly. For example, you can analyze thousands of EC2 instances by CPU Utilization to troubleshoot an underperforming application. You can group your instance metrics by InstanceId to narrow down your analysis and pinpoint failing instances rapidly. Once any failing instance is isolated, you can recover the application by rebooting problematic instances. Moreover, you can use your queries to create powerful visualizations using a range of out-of-the-box chart types that will stay up to date as resources are deployed or terminated, helping you proactively monitor and pinpoint issues quickly.

It is easy to get started with Metrics Insights. While Metrics Insights comes with standard SQL language, you can also get started with Metrics Insights by using the visual query builder. To use the query builder, first, you select your metrics of interest, namespaces and dimensions visually, and the console automatically constructs your SQL queries for you, based on your selections. You can use the query editor to type in your raw SQL queries anytime to dive deep and pinpoint issues to further granular detail.

Metrics Insights is now available in all commercial AWS Regions and you can start using it immediately. To get started, click on the All metrics link under Metrics on the left navigation panel of the CloudWatch console and browse to Query tab. Metrics Insights is also available on Amazon Managed Grafana console. To learn more about Metrics Insights please refer to our documentation.