-
Notifications
You must be signed in to change notification settings - Fork 839
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
Require exporter timeouts to be positive #6850
base: main
Are you sure you want to change the base?
Require exporter timeouts to be positive #6850
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6850 +/- ##
=========================================
Coverage 90.28% 90.28%
Complexity 6588 6588
=========================================
Files 729 729
Lines 19768 19768
Branches 1944 1944
=========================================
+ Hits 17847 17848 +1
Misses 1327 1327
+ Partials 594 593 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to make sure we're interpreting "timeout zero" consistently, would you support a similar spec clarification to
OTEL_EXPORTER_OTLP_TIMEOUT
OTEL_EXPORTER_ZIPKIN_TIMEOUT
OTEL_BSP_EXPORT_TIMEOUT
OTEL_BLRP_EXPORT_TIMEOUT
OTEL_METRIC_EXPORT_TIMEOUT
Yes, that's a good call. But I wonder if there's a scenario where the outcome of a spec PR would influence what we do.
I think the only situation where we wouldn't want to this PR in java would be: There is spec consensus that timeout of 0 conveys "indefinite". Seems hard to believe that all the implementations interpret it this way. |
Resolves #6245.
This is a behavior change, which I would consider a bug. The behavior when exporter timeout 0 is at best ambiguous, and at worst non-functional. As discussed in this comment:
Configuration options impacted: