Used ALB target-group metrics from CDK as the alert and dashboard signal for server errors and high latency. The first metric helper name was invalid; declaration files showed HttpCodeTarget 5xx count and percentile latency stats, which then compiled. Live ALB traffic was not generated.
- What worked
- Target 5xx count was a clear operator signal once the correct enum and statistic helpers were used.
- What got in the way
- Metric names and statistic helpers were not obvious from call-site usage; several type-definition lookups were required.
