Hey dear community ,
We use brand new Grafana 9 and I’m struggling a little bit with new generation alerting feature .
I would like to create alert “when any of AutoScalingGroupName
reached the GroupMaxSize
count.” base of CloudWatch metrics.
I use this two queries:
To get maximum allowed number of nodes per group:
SELECT AVG(GroupMaxSize) FROM "AWS/AutoScaling" GROUP BY AutoScalingGroupName
To get current number of nodes per group:
SELECT AVG(GroupInServiceInstances) FROM "AWS/AutoScaling" GROUP BY AutoScalingGroupName
Each query returns set of common group names with values.
How should query/expression look like to achieve desired result?
Any hints helps. Thank you .