SDK error `Unimplemented` / `404 Not Found` when exporting to the collector
IntermediateTroubleshootingTracing, OpenTelemetry and CloudWatch
Answer
Likely causes → Protocol/port mismatch: sending gRPC to the HTTP port 4318, or HTTP to 4317, or the HTTP path missing /v1/traces when setting a signal-specific endpoint.
Diagnose → Compare OTEL_EXPORTER_OTLP_PROTOCOL with the port.
Fix → gRPC → 4317; http/protobuf → 4318. With OTEL_EXPORTER_OTLP_TRACES_ENDPOINT include the full path http://collector:4318/v1/traces.
Prevent → One documented default for all services.
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`BeginnerOTel 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