Alarms on CloudWatch Metrics Insights queries in CloudWatch
You can create alarms on Metrics Insights queries. This helps you have alarms that track multiple resources without needing to be updated later. The query catches new resources and resources that change. For example, you can create an alarm that watches the CPU utilization of your fleet, and the alarm automatically evaluates new instances that you launch after creating the alarm.
In a monitoring account that is set up for CloudWatch cross-account observability, your
Metrics Insights alarms can watch resources in source accounts and in the monitoring account
itself. For more information about how to limit your alarm queries to a specific account or
to group the results by account ID, see the WHERE
and GROUP BY
sections in Query components and syntax in CloudWatch Metrics Insights.