How do you correlate a user's slow request with network-layer data?
IntermediateProductionObservability & Incident Patterns
Answer
Use a request ID propagated through all layers (header logged at the CDN, ALB, proxy and app) plus distributed tracing (OpenTelemetry). Compare edge timestamps with app-side processing time to separate network from processing delay.
log_format main '... req_id=$request_id urt=$upstream_response_time';
proxy_set_header X-Request-ID $request_id;
More on Observability & Incident Patterns
What network metrics do you monitor in production?IntermediateWhich Prometheus exporters and metrics help with network visibility?IntermediateHow do you build SLOs for a network-dependent service?AdvancedWhat do you use VPC Traffic Mirroring or packet capture in production for?IntermediateHow do you analyze ALB access logs quickly?IntermediateWalk me through how you would handle a sudden network-related outage.Advanced