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

Implementation of OtlpHttpLogExporter #1030

Merged
merged 19 commits into from
Oct 31, 2021

Conversation

owent
Copy link
Member

@owent owent commented Oct 23, 2021

Related to #1024

Changes

  • Move shared codes of OTLP recordable into OtlpRecordableUtils .
  • Create a new target OtlpHttpClient and move shared codes of HTTP exportor into this target .
  • Add OtlpHttpLogExporter .

@ThomsonTan @lalitb Could you please review the codes? There should be no API break change by now. Unit tests are already added.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@owent owent requested a review from a team October 23, 2021 16:13
@codecov
Copy link

codecov bot commented Oct 23, 2021

Codecov Report

Merging #1030 (86cdc9c) into main (af75379) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1030   +/-   ##
=======================================
  Coverage   94.85%   94.85%           
=======================================
  Files         151      151           
  Lines        5972     5972           
=======================================
  Hits         5664     5664           
  Misses        308      308           
Impacted Files Coverage Δ
sdk/test/trace/tracer_provider_test.cc 100.00% <100.00%> (ø)
sdk/test/trace/tracer_test.cc 99.52% <100.00%> (ø)

@owent owent force-pushed the otlp_log_exporter branch 3 times, most recently from e218d81 to 609ab83 Compare October 26, 2021 14:52
@lalitb
Copy link
Member

lalitb commented Oct 27, 2021

@owent Thanks for the PR. Changes look good to me in general. I will be doing a more thorough review next couple of days.

Copy link
Member

@lalitb lalitb left a comment

Choose a reason for hiding this comment

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

LGTM. Nicely done. Would like to have a few more eyes (Tom ?) on that before we can merge.

@lalitb
Copy link
Member

lalitb commented Oct 30, 2021

@owent will merge it once it is updated to main.

owent and others added 15 commits October 31, 2021 14:10
+ Finish `OtlpLogRecordable`.

Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owent <admin@owent.net>
Signed-off-by: owent <admin@owent.net>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Support old protobuf for OtlpHttp*Exporter

Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
owent and others added 4 commits October 31, 2021 14:10
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
Signed-off-by: owentou <owentou@tencent.com>
…nt.cc`

Signed-off-by: owent <admin@owent.net>
@owent
Copy link
Member Author

owent commented Oct 31, 2021

@owent will merge it once it is updated to main.

@lalitb Done. The ThreadSanitizer: data race problem seems to be the problem of metrics in sdk, not the content of this PR.

@lalitb lalitb merged commit 4110b56 into open-telemetry:main Oct 31, 2021
@owent owent deleted the otlp_log_exporter branch November 21, 2021 09:09
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.

4 participants