Support handling Retryable error for OTLP exporter (OTLP/gRPC and OTLP/HTTP) #2049
Labels
area:exporter:otlp
OpenTelemetry Protocol (OTLP) Exporter
do-not-stale
help wanted
Good for taking. Extra help will be provided by maintainers
Hi,
If OTel collector is down or due to some other reason if OTLP exporter received Retryable error code from OTel collector, it has to be handled and the OTLP exporter has to retry sending the same trace span. Currently there is no code in OTLP exporter(both OTLP/gRPC and OTLP/HTTP) to handle retryable error code in opentelmetry-cpp sdk. As currently retryable error code is not handled for OTLP exporters, so it will discard the trace span when OTel collector returned retryable error code).
Error codes that are retryable and non-retryable is mentioned in OTLP spec at :
https://opentelemetry.io/docs/reference/specification/protocol/otlp/
OTLP/GRPC: https://opentelemetry.io/docs/reference/specification/protocol/otlp/#failures
OTLP/HTTP : https://opentelemetry.io/docs/reference/specification/protocol/otlp/#failures-1
I this this can be a candidate for feature.
discussion link: #2042
Thanks,
Mukesh
The text was updated successfully, but these errors were encountered: