[processor/tailsampling] Ability to understand which tailsampling policies attributed to a sampling decision of a trace #36811
Labels
enhancement
New feature or request
needs triage
New item requiring triage
processor/tailsampling
Tail sampling processor
Component(s)
processor/tailsampling
Is your feature request related to a problem? Please describe.
We frequently need to understand which tailsampling policies contributed to the decision of sampling a trace. The reasons:
Additionally, if we could know which traces are sampled from random/probabilistic sampling, we could use those particular subset of traces to do further analytics (calculate distribution of error, latency). It's not possible now because without identifying traces from random/probabilistic sampling the distribution is skewed (towards error, latency etc)
Describe the solution you'd like
Can we make it (optionally) configurable to attach an attribute in the root-span of a trace with the names of root-level policies that evaluated
true
during tailsampling, also another attribute of list of policies that evaluated tofalse
?Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: