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

When using WithNewRoot, don't use the parent context for sampling #2032

Merged
merged 2 commits into from
Jun 28, 2021

Conversation

dashpole
Copy link
Contributor

Fixes #2031

@dashpole dashpole added the area:trace Part of OpenTelemetry tracing label Jun 25, 2021
@codecov
Copy link

codecov bot commented Jun 25, 2021

Codecov Report

Merging #2032 (d996918) into main (62af6c7) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #2032   +/-   ##
=====================================
  Coverage   72.7%   72.7%           
=====================================
  Files        164     164           
  Lines       8079    8081    +2     
=====================================
+ Hits        5876    5878    +2     
  Misses      1974    1974           
  Partials     229     229           
Impacted Files Coverage Δ
sdk/trace/span.go 89.0% <100.0%> (+<0.1%) ⬆️

@MrAlias MrAlias merged commit 9e8f523 into open-telemetry:main Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:trace Part of OpenTelemetry tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WithNewRoot uses the parent context for sampling decisions.
4 participants