kamon.trace
A sampler takes the decision of whether to collect and report Spans for a particular trace. Samplers are used only when starting a new Trace.
Decides whether a trace should be sampled or not.
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.
A sampler takes the decision of whether to collect and report Spans for a particular trace. Samplers are used only when starting a new Trace.