Traces break at the API gateway / ingress controller
IntermediateTroubleshootingTracing, OpenTelemetry and CloudWatch
Answer
Likely causes → The ingress strips or regenerates traceparent, or doesn't participate in tracing.
Diagnose → Compare traceparent before and after the ingress with request logs.
Fix → Enable OpenTelemetry in the ingress (ingress-nginx enable-opentelemetry: "true" with otlp-collector-host), or configure it to pass headers through untouched.
Prevent → Include proxies, gateways and service meshes in the propagation design.
More on Tracing, OpenTelemetry and CloudWatch
Traces show only the frontend span; downstream services start new tracesIntermediateNo traces at all arrive; the app logs `Failed to export spans. The request could not be executed. Full error message: Failed to connect to localhost/127.0.0.1:4317`BeginnerSDK error `Unimplemented` / `404 Not Found` when exporting to the collectorIntermediateOTel collector logs `Exporting failed. Will retry the request after interval. {"kind": "exporter", "data_type": "traces", "name": "otlp", "error": "rpc error: code = Unavailable desc = connection error"}`IntermediateCollector logs `Dropping data because sending_queue is full`AdvancedCollector pod is OOMKilled under loadIntermediate