Sampler that uses a random number generator and a probability threshold to decide whether to trace a request or not.
- Companion:
- object
Value members
Concrete methods
Decides whether a trace should be sampled or not. The provided SpanBuilder contains the information that has been gathered so far for what will become the root Span for the new Trace.
Decides whether a trace should be sampled or not. The provided SpanBuilder contains the information that has been gathered so far for what will become the root Span for the new Trace.
- Definition Classes