-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Use queue retry per exporter #2444
Use queue retry per exporter #2444
Conversation
Signed-off-by: Pavol Loffay <[email protected]>
@joe-elliott would you like to review? |
Codecov Report
@@ Coverage Diff @@
## master #2444 +/- ##
=======================================
Coverage 95.58% 95.59%
=======================================
Files 208 208
Lines 10681 10681
=======================================
+ Hits 10209 10210 +1
+ Misses 400 399 -1
Partials 72 72
Continue to review full report at Codecov.
|
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.
Looks good to me. Two questions:
- In several places you note
// TODO: Enable the queued settings by default.
. Why not just leave the defaults alone and enable it now? - Why not add this to the jaegerexporter? It seems like we'd want queueing and retries from agent -> collector
It already supports qretry, we just wrapping it and adding support for flags. |
It is from https://github.com/open-telemetry/opentelemetry-collector/pull/1401/files#r457838535. I have created issue to track it open-telemetry/opentelemetry-collector#1721 I think we can enable it by default since it will be enabled anyways. |
Signed-off-by: Pavol Loffay <[email protected]>
* Use queue retry per exporter Signed-off-by: Pavol Loffay <[email protected]> * enable qretry by default Signed-off-by: Pavol Loffay <[email protected]> Signed-off-by: albertteoh <[email protected]>
Signed-off-by: Pavol Loffay [email protected]
This PR configures queue retry per exporter and removes the qretry form the default configuration. This is a prefered configuration since the global qretry would retry all exporters in the pipeline. See example ocnfig from OTEL https://github.com/open-telemetry/opentelemetry-collector/blob/master/exporter/otlpexporter/config.go#L26.
Other notable changes: