-
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
Add support for queued retry in the exporter helper. #1386
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1386 +/- ##
==========================================
+ Coverage 90.51% 90.60% +0.08%
==========================================
Files 219 220 +1
Lines 15516 15674 +158
==========================================
+ Hits 14044 14201 +157
- Misses 1059 1060 +1
Partials 413 413
Continue to review full report at Codecov.
|
69299f0
to
a72309d
Compare
Changed only the OTLP exporter for the moment to use the new settings. Timeout is enabled for all the exporters. Fixes open-telemetry#1193 There are some missing features that will be added in a followup PR: 1. Enforcing errors. For the moment added the Throttle error as a hack to keep backwards compatibility with OTLP. 2. Enable queued and retry for all exporters. 3. Fix observability metrics for the case when requests are dropped because the queue is full.
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.
Did an initial sweep, but haven't looked at the tests yet.
General comment: would it be possible to have a generic wrapping mechanism for senders? It would make it easier to understand the chain of senders, eventually leading to the timeoutSender
, which calls request.export(ctx)
.
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.
This is a very welcome change.
6988081
to
a7ac75a
Compare
@tigrannajaryan @jpkrohling PTAL Thanks a lot for the review, I feel we are making progress :) |
0828ede
to
24860b5
Compare
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.
LGTM.
9d59924
to
6834dd6
Compare
…y#1386) Bumps [boto3](https://github.com/boto/boto3) from 1.21.23 to 1.21.24. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.21.23...1.21.24) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lalit Kumar Bhasin <[email protected]>
Changed only the OTLP exporter for the moment to use the new settings.
Timeout is enabled for all the exporters. Fixes #1193
There are some missing features that will be added in a followup PR: