-
Notifications
You must be signed in to change notification settings - Fork 417
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
Optimize OtlpHttpExporter to support timeout and cancle #853
Optimize OtlpHttpExporter to support timeout and cancle #853
Conversation
Signed-off-by: owent <admin@owent.net>
Codecov Report
@@ Coverage Diff @@
## main #853 +/- ##
==========================================
+ Coverage 95.48% 95.49% +0.01%
==========================================
Files 156 156
Lines 6615 6617 +2
==========================================
+ Hits 6316 6318 +2
Misses 299 299
|
Signed-off-by: owent <admin@owent.net>
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. Thanks.
@open-telemetry/cpp-approvers - I will take the liberty to merge it, as this was a fix for earlier reverted changes from PR #803. |
@@ -65,6 +68,7 @@ struct OtlpHttpExporterOptions | |||
|
|||
// TODO: Enable/disable to verify SSL certificate | |||
// TODO: Reuqest timeout |
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 TODO could be removed?
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.
Yes. This PR is already merged, maybe it can be remove in another PR later.
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.
sorry if I merged it a bit earlier. There is a task to remove/handle invalid TODOs from the code base, this can be handled through that if not done before.
Signed-off-by: owent admin@owent.net
Fixes #852
Changes
Use
HttpClient
to replaceHttpClientSync
.For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes