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

Sampler interface should return Tracestate #1341

Closed
XSAM opened this issue Nov 16, 2020 · 1 comment · Fixed by #1432
Closed

Sampler interface should return Tracestate #1341

XSAM opened this issue Nov 16, 2020 · 1 comment · Fixed by #1432
Labels
area:trace Part of OpenTelemetry tracing pkg:SDK Related to an SDK package
Milestone

Comments

@XSAM
Copy link
Member

XSAM commented Nov 16, 2020

According to the specification, Sampler should return SamplingResult that contains Tracestate.

@XSAM XSAM added area:trace Part of OpenTelemetry tracing pkg:SDK Related to an SDK package labels Nov 16, 2020
@Aneurysm9
Copy link
Member

Once #1340 lands we'll have TraceState in the SpanContext provided to the samplers and it should be relatively straightforward to update the SamplingResult struct to include a TraceState.

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 a pull request may close this issue.

3 participants