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. |
trask
left a comment
There was a problem hiding this comment.
to make sure we're interpreting "timeout zero" consistently, would you support a similar spec clarification to
OTEL_EXPORTER_OTLP_TIMEOUTOTEL_EXPORTER_ZIPKIN_TIMEOUTOTEL_BSP_EXPORT_TIMEOUTOTEL_BLRP_EXPORT_TIMEOUTOTEL_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. |
|
Superseded by #7023. |
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: