-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
(exporterhelper) Retry sender: fail request if context timeout < next retry #11331
(exporterhelper) Retry sender: fail request if context timeout < next retry #11331
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11331 +/- ##
=======================================
Coverage 91.50% 91.51%
=======================================
Files 430 430
Lines 20209 20228 +19
=======================================
+ Hits 18493 18511 +18
- Misses 1341 1342 +1
Partials 375 375 ☔ View full report in Codecov by Sentry. |
… retry (open-telemetry#11331) #### Description The retry sender will delay until the context is canceled, where instead it could fail fast with a transient error and a clear message that no more retries are possible given the configuration. #### Link to tracking issue Part of open-telemetry#11183 #### Testing One new test.
… retry (open-telemetry#11331) #### Description The retry sender will delay until the context is canceled, where instead it could fail fast with a transient error and a clear message that no more retries are possible given the configuration. #### Link to tracking issue Part of open-telemetry#11183 #### Testing One new test.
I think apart from comparing deadline from context with backoff delay, we should also compare max elapsed time with it? and one problem with context deadline is that it is not set properly in the collector, f.e. timeout sender is the next sender of retry sender, but it sets its own context with deadline, not the same context retry sending uses. |
Description
The retry sender will delay until the context is canceled, where instead it could fail fast with a transient error and a clear message that no more retries are possible given the configuration.
Link to tracking issue
Part of #11183
Testing
One new test.