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

Use template class for in-memory data. #1496

Merged
merged 9 commits into from
Jul 18, 2022
Merged

Conversation

yxue
Copy link
Contributor

@yxue yxue commented Jul 14, 2022

Fixes #1493

Changes

Please provide a brief description of the changes here.

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

@yxue yxue requested a review from a team July 14, 2022 05:39
@codecov
Copy link

codecov bot commented Jul 14, 2022

Codecov Report

Merging #1496 (d2a5631) into main (fba16c6) will decrease coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1496      +/-   ##
==========================================
- Coverage   84.73%   84.66%   -0.07%     
==========================================
  Files         155      156       +1     
  Lines        4787     4784       -3     
==========================================
- Hits         4056     4050       -6     
- Misses        731      734       +3     
Impacted Files Coverage Δ
...de/opentelemetry/exporters/memory/in_memory_data.h 100.00% <100.00%> (ø)
...entelemetry/exporters/memory/in_memory_span_data.h 100.00% <100.00%> (ø)
...lemetry/exporters/memory/in_memory_span_exporter.h 90.91% <100.00%> (-0.39%) ⬇️
ext/src/http/client/curl/http_client_curl.cc 79.93% <0.00%> (-1.51%) ⬇️
sdk/src/trace/batch_span_processor.cc 91.41% <0.00%> (+0.79%) ⬆️

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

Copy link
Member

@owent owent left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@marcalff marcalff left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fixes.

@lalitb lalitb merged commit 4062237 into open-telemetry:main Jul 18, 2022
yxue added a commit to yxue/opentelemetry-cpp that referenced this pull request Dec 5, 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.

Replace the in-memory span data with the templated in-memory data class
4 participants