I have an ALB with a single target group (this is an istio-ingress gateway), I want to capture a scenario where any request routed to this target group returns 5XX code.
Per docs:
HTTPCode_ELB_5XX_Count:
The number of HTTP 5XX server error codes that originate from the load balancer. This count does not include any response codes generated by the targets.
HTTPCode_Target_5XX_Count:
The number of HTTP response codes generated by the targets. This does not include any response codes generated by the load balancer.
I thought since this is a single target group they should be the same, but clearly they are not since for a particular time frame I see some data for HTTP 4XX but none for ELB 4XX. What's the difference? Which one should I use?