-
Notifications
You must be signed in to change notification settings - Fork 187
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
How to configure timeout and retry of exporter #1317
Comments
Hi @iosifch it's not currently configurable, and I think that's because it isn't mentioned in the spec. Retry is mentioned in https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md but nothing about number of times to retry that I can see. So, I think the answer is that if it's important to folks, we could implement our own env var to control it, something like |
Hi, @brettmc! First of all, thank you for your response. Today I learned that the PHP SDK ignores the env variable |
Oh, |
@brettmc Hello! I have a question regarding the timeout issue. I noticed this PR and this commit addressing the matter. Could you please let me know if you have any idea when these changes might be released? Thank you! |
@davidpocar sorry, I've been on vacation for a couple of weeks. We're getting close to the next release, I'm going to estimate about a week or two. |
@brettmc Hello, hope the vacation went well. That is good news, looking forward to that. |
Yes, but not immediate ones. Part of the desire to drop 7.4+8.0 support recently was to make async exporting possible. There's a good prototype over in https://github.com/Nevay/opentelemetry-async-sdk which uses revolt, and we might try to base a future enhancement off. |
Back on-topic, I submitted open-telemetry/opentelemetry-configuration#97 to allow configuring retry logic for exporting. If that is accepted, it should be a trivial change at our end to support it (we have all the variables, just not a source to set them from) |
This one is quite nice |
Hi! I see that there's this env variable,
OTEL_EXPORTER_OTLP_TRACES_TIMEOUT
, through which I can configure the timeout of the trace exporter, but what about the number of retries? Is there any way to configure the number of retries?Thanks
The text was updated successfully, but these errors were encountered: