This sampler assumes the lower 64 bits of the trace id are randomly distributed around the whole (long) range.
Behaviours: oc_sampler.
The sampler creates an upper bound id based on the configured probability and compares the lower 64 bits of the trace id to for the sampling decision.
| init/1 | |
| should_sample/4 |
init(Opts) -> any()
should_sample(TraceId, X2, X3, IdUpperBound) -> any()