-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Spec Conformance Review: OTLP Exporter Retries #1632
Comments
Part of #1603 |
The gRPC driver for the OTLP exporter accepts a config that has a retry policy enabled by default: opentelemetry-go/exporters/otlp/otlpgrpc/options.go Lines 25 to 59 in 841d2a5
This was added here for reference. |
Yes, but according to GRPC documents you can't enable retry except with an environment variable. Unless we are going to rewrite the retry logic within our code, I don't think this is going to be fixed. We could maybe have some documentation that you actually get retries with |
I did a bit of experimenting with it. Here is an example of a client not retrying, and how to get it to retry. |
Ah, right, we ran into this on the old issues as well. One option that proposed was to copy the collector and write our own implementation: #561 (comment) |
We may need to write our own back-off/retry algorithm (like the collector) instead of relying on the gRPC method. |
The OTLP exporter Must Retry on transient errors.
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: