Technologies/Envoy/envoy.appmesh.target.response.5xx
EnvoyEnvoyMetric

envoy.appmesh.target.response.5xx

5XX responses from target
Dimensions:None
Available on:CloudWatchCloudWatch (1)
Interface Metrics (1)
CloudWatchCloudWatch
Number of HTTP 5XX response codes returned from target virtual nodes
Dimensions:None

Technical Annotations (30)

Configuration Parameters (4)
outlier_detection.consecutive_5xxrecommended: 5
Number of consecutive 5xx errors before ejection (3-5 for critical services)
outlier_detection.enforcing_consecutive_5xxrecommended: 100
Percentage of violating hosts to eject (100 = all violating hosts)
outlier_detection.base_ejection_timerecommended: 30s
Initial duration host remains ejected, increases exponentially on repeat ejections
logging.accessLog.file.pathrecommended: /dev/stdout
enables request-level visibility in Envoy sidecar logs
Error Signatures (7)
status=~"5.."http status
503 UChttp status
UClog pattern
LRlog pattern
503http status
8error code
RESOURCE_EXHAUSTEDerror code
CLI Commands (6)
curl -s http://localhost:9901/stats | grep outlier_detectiondiagnostic
curl -s http://localhost:9901/clusters | grep -A 10 "backend_service"diagnostic
sum by (endpoint) (rate(http_requests_total{status=~"5.."}[5m]))diagnostic
kubectl logs <pod-name> -c envoydiagnostic
aws logs get-log-events --log-group-name /ecs/my-service --log-stream-name envoy-sidecardiagnostic
curl http://localhost:9901/config_dumpdiagnostic
Technical References (13)
ejections_consecutive_5xxmetric/failed_outlier_checkhealth flaghttp_requests_totalcomponentlocalhost:9901/config_dumpcomponent/dev/stdoutfile pathroute configurationsconcepttimeout valuesconceptX-Ray service mapcomponentfault rateconceptApp Mesh Envoy management servicecomponentvirtual nodecomponentvirtual gatewaycomponentvirtual servicecomponent
Related Insights (7)
Consecutive 5xx errors trigger automatic host ejectionwarning
HTTP 5xx error rate exceeds 1% threshold causing user-facing failurescritical
503 UC errors indicate upstream connection failurescritical
Timeout mismatch causes premature local resetswarning
Service showing 3-4% fault rate in X-Ray service mapwarning
Envoy quota exhaustion prevents scaling beyond 50 replicas per virtual nodecritical
503 errors during backend virtual service horizontal scalingwarning