Open
Description
Component(s)
processor/probabilisticsampler
What happened?
Description
Steps to Reproduce
This is a historical conflict.
Expected Result
The logs priority mechanism has proven useful because it allows OTTL transforms to configure sampling probabilities ahead of this processor, which simply does the math.
Actual Result
In traces, the sampling priority mechanism forces a pass-through, instead of overriding the sampling probability (as done in logs).
See #36876 (comment)
This calls for adding a feature flag to change how traces sampling_priority behavior works, at least that is the solution I would prefer.
Collector version
v0.120.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response