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

Remove Tracer::with_span #746

Merged
merged 4 commits into from Mar 1, 2022

Conversation

jtescher
Copy link
Member

This method is not part of the trace spec and the same functionality can be achieved with mark_span_as_active or Context::current_with_span(span).attach().

This method is not part of the trace spec and the same functionality can
be achieved with `mark_span_as_active` or
`Context::current_with_span(span).attach()`.
@jtescher jtescher requested a review from a team as a code owner February 27, 2022 01:14
@TommyCpp
Copy link
Contributor

TommyCpp commented Feb 28, 2022

Need to fix the doc link issue found in coverage but otherwise looks good 👍

@codecov
Copy link

codecov bot commented Feb 28, 2022

Codecov Report

Merging #746 (e70b6dd) into main (152daee) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #746      +/-   ##
==========================================
+ Coverage   70.08%   70.11%   +0.02%     
==========================================
  Files         108      108              
  Lines        8789     8789              
==========================================
+ Hits         6160     6162       +2     
+ Misses       2629     2627       -2     
Impacted Files Coverage Δ
opentelemetry-api/src/trace/mod.rs 76.78% <ø> (ø)
opentelemetry-api/src/trace/tracer.rs 61.03% <ø> (ø)
opentelemetry-sdk/src/metrics/controllers/push.rs 80.00% <0.00%> (-3.34%) ⬇️
opentelemetry-http/src/lib.rs 12.28% <0.00%> (+5.26%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 152daee...e70b6dd. Read the comment docs.

@TommyCpp TommyCpp merged commit 104d66d into open-telemetry:main Mar 1, 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.

None yet

2 participants