Skip to content
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

fix: use CURLOPT_TIMEOUT_MS to config OtlpHttpExporter's timeout instead of CURLOPT_TIMEOUT #1261

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

wxl374
Copy link
Contributor

@wxl374 wxl374 commented Mar 11, 2022

Fixes #1258

Changes

Support OtlpHttpExporter's timeout less than 1s.

@wxl374 wxl374 requested a review from a team March 11, 2022 07:32
@codecov
Copy link

codecov bot commented Mar 11, 2022

Codecov Report

Merging #1261 (4860aa9) into main (fd5a621) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1261      +/-   ##
==========================================
- Coverage   92.31%   92.30%   -0.01%     
==========================================
  Files         198      198              
  Lines        7281     7281              
==========================================
- Hits         6721     6720       -1     
- Misses        560      561       +1     
Impacted Files Coverage Δ
...lemetry/ext/http/client/curl/http_operation_curl.h 78.29% <100.00%> (ø)
...include/opentelemetry/sdk/common/circular_buffer.h 98.00% <0.00%> (-2.00%) ⬇️

Copy link
Member

@esigo esigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

@esigo esigo merged commit 4a7200b into open-telemetry:main Mar 11, 2022
DebajitDas pushed a commit to DebajitDas/opentelemetry-cpp that referenced this pull request Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

config timeout with CURLOPT_TIMEOUT_MS instead of CURLOPT_TIMEOUT for curl implementation
4 participants