Skip to content

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

Merged
esigo merged 1 commit intoopen-telemetry:mainfrom
wxl374:fix
Mar 11, 2022
Merged

fix: use CURLOPT_TIMEOUT_MS to config OtlpHttpExporter's timeout instead of CURLOPT_TIMEOUT#1261
esigo merged 1 commit intoopen-telemetry:mainfrom
wxl374:fix

Conversation

@wxl374
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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