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

Add tests for propagation of Sampler Tracestate changes #1655

Merged
merged 5 commits into from
Mar 8, 2021

Conversation

evantorrie
Copy link
Contributor

Sampler specification indicates that SamplingResult.Tracestate should be associated with the SpanContext of the newly created span.

See
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#sampler

@codecov
Copy link

codecov bot commented Mar 5, 2021

Codecov Report

Merging #1655 (2e022cc) into main (875a258) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #1655   +/-   ##
=====================================
  Coverage   77.3%   77.3%           
=====================================
  Files        128     128           
  Lines       6681    6682    +1     
=====================================
+ Hits        5166    5171    +5     
+ Misses      1268    1266    -2     
+ Partials     247     245    -2     
Impacted Files Coverage Δ
sdk/trace/span.go 90.7% <100.0%> (+<0.1%) ⬆️
sdk/metric/sdk.go 81.3% <0.0%> (+1.1%) ⬆️
sdk/metric/refcount_mapped.go 100.0% <0.0%> (+22.2%) ⬆️

@MrAlias MrAlias added area:trace Part of OpenTelemetry tracing pkg:SDK Related to an SDK package release:required-for-ga labels Mar 5, 2021
@MrAlias MrAlias added this to the RC1 milestone Mar 5, 2021
@MrAlias MrAlias merged commit e9b9aca into open-telemetry:main Mar 8, 2021
@MrAlias MrAlias mentioned this pull request Mar 18, 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 pkg:SDK Related to an SDK package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants