cdklabs / cdk-monitoring-constructs

Easy-to-use CDK constructs for monitoring your AWS infrastructure
https://constructs.dev/packages/cdk-monitoring-constructs
Apache License 2.0
480 stars 70 forks source link

Add support for monitoring an Application Load Balancer #328

Closed Unshure closed 11 months ago

Unshure commented 1 year ago

Feature scope

Application Load Balancer

Describe your suggested feature

cdk-monitoring-constructs currently supports monitoring an applicationLoadBalanced Fargate Service, but not an Application Load Balancer by itself. Additionally, cdk-monitoring-constructs supports monitoring a Network Load Balancer by itself. I am requesting you add support to monitor an Application Load Balancer by itself.

vkkis93 commented 1 year ago

Yeah, would be nice to have it

echeung-amzn commented 11 months ago

Duplicate of #46

r0b0ji commented 7 months ago

I am considering implementing this. I am happy to take requests on what people think are useful widgets for the ALB segment. I looked at the automatic dashboard and all metrics related to ALB in Cloudwatch. My initial thinking is to have 6 widgets (2 row, 3 column).

Following are the metrics I found interesting, but this exceeds the available slots I am planning. So, seeking some community suggestions on what you find more useful to see in dashboard.

  1. RequestCount: Sum
  2. ActiveConnectionCount: Sum, NewConnectionCount: Sum, RejectedConnectionCount: Sum (all on same widget)
  3. ConsumedLCU: Avg
  4. HTTPCode_ELB_4XX_Count: Sum, HTTPCode_ELB_5XX_Count: Sum (left/right)
  5. ProcessedBytes: Sum
  6. RequestCountPerTarget: Avg
  7. UnhealthyHostCount: Sum
  8. RequestCount: Sum