You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the specs, a consistent probability sampler should unset p from tracestate when deciding not to sample. This functionality seems to be missing, the tracestate as left by the ConsistentSampler will have the p-value set regardless of the sampling decision.
Steps to reproduce
Configure ConsistentProbabilityBasedSampler with low probability (< 1.0).
Apply this sampler to a parent span. Observe the tracestate at a child span.
You will see that the tracestate always contains the p-value.
Expectation
When the parent span is not sampled, the tracestate visible at the child span should contain the r-value, but not the p-value.
What applicable config did you use?
Config: (e.g. the yaml config file)
Relevant Environment Information
Version: 1.13.0-alpha
OS: macOS BigSur
The text was updated successfully, but these errors were encountered:
Description
According to the specs, a consistent probability sampler should unset p from tracestate when deciding not to sample. This functionality seems to be missing, the tracestate as left by the ConsistentSampler will have the p-value set regardless of the sampling decision.
Steps to reproduce
Configure ConsistentProbabilityBasedSampler with low probability (< 1.0).
Apply this sampler to a parent span. Observe the tracestate at a child span.
You will see that the tracestate always contains the p-value.
Expectation
When the parent span is not sampled, the tracestate visible at the child span should contain the r-value, but not the p-value.
What applicable config did you use?
Config: (e.g. the yaml config file)
Relevant Environment Information
Version: 1.13.0-alpha
OS: macOS BigSur
The text was updated successfully, but these errors were encountered: