Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable OTLP retry by default in autoconfigure #6022

Closed
jack-berg opened this issue Nov 28, 2023 · 1 comment
Closed

Enable OTLP retry by default in autoconfigure #6022

jack-berg opened this issue Nov 28, 2023 · 1 comment
Labels
Feature Request Suggest an idea for this project

Comments

@jack-berg
Copy link
Member

While the RetryPolicy class and configuring RetryPolicy on OTLP exporters has been stable since 1.28.0, the autoconfigure retry option OTEL_EXPERIMENTAL_EXPORTER_OTLP_RETRY_ENABLED still defaults to false.

The OTLP exporter specification doesn't mince words on this:

Transient errors MUST be handled with a retry strategy.

Its quite clear that exporters need to retry.

But as opentelemetry-specification#3639 points out, there are some outstanding issues with the retry language in the specification. The argument against enabling retry by default in autoconfigure is that the spec could potentially change in ways incompatible with the java default behavior we land on, and we would be unable to change the configuration later.

So we're in a tough position: the spec clearly says that we should retry, but lacks details describing exactly how.

@jack-berg jack-berg added the Feature Request Suggest an idea for this project label Nov 28, 2023
@jack-berg
Copy link
Member Author

Oops, this is a duplicate of #5641. Closing. Please pick up any conversation on the other issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Suggest an idea for this project
Projects
None yet
Development

No branches or pull requests

1 participant