Add widgets and alarms for Application Load Balancer resources
eoinsha opened this issue · comments
Create alarms for
- Application Load Balancer
- Target Groups (including Lambda targets)
There are a number of possible inputs to be considered.
- All resources are in the CF stack (ALB, Listener, Listener Rule, Target Group) - in this case we can create all alarms/widgets ✅
- Only ALB is in the stack - Just create the Load Balancer alarms/widget ✅
- Only Target Group is in the stack - in this case, we can't get the Load Balancer Full Name (required for metrics dimensions, so we create nothing!) ⛔️
- Target Group, Listener Rule and Listener are in the stack (no ALB) - this becomes challenging because we still need the
LoadBalancerFullName
for the metrics dimensions but it's not trivial to get for all possibleLoadBalancerArn
s in the listener (SSM parameter, ImportValue, literals, etc.) - in this case, we won't create any alarms or widgets ⛔️
Diagram showing links between relevant resources in CloudFormation:
Released in 2.1.1