OTel 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"}`
IntermediateTroubleshootingTracing, OpenTelemetry and CloudWatch
Answer
Likely causes → The backend (Tempo, Jaeger, vendor) is down or unreachable, TLS mismatch (backend expects plaintext or vice versa), or DNS.
Diagnose →
kubectl logs -n observability deploy/otel-collector | grep -i export
kubectl exec -n observability deploy/otel-collector -- nc -zv tempo-distributor 4317
Fix → Fix endpoint/port; for plaintext in-cluster backends set tls: { insecure: true } on the exporter; otherwise provide ca_file.
Prevent → Alert on otelcol_exporter_send_failed_spans and queue size.
More on Tracing, OpenTelemetry and CloudWatch
Traces show only the frontend span; downstream services start new tracesIntermediateTraces break at the API gateway / ingress controllerIntermediateNo 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 collectorIntermediateCollector logs `Dropping data because sending_queue is full`AdvancedCollector pod is OOMKilled under loadIntermediate