Sampler

object Sampler
Companion:
class
class Object
trait Matchable
class Any
Sampler.type

Type members

Classlikes

object Metrics
trait Operation

Exposes access to information about the operation triggering the sampling. The Kamon tracer can take a sampling in two different situations: during Span creation via SpanBuilder.start (the most common case) and once a Span has been already started with an Unknown Sampling Decision and Span.takSamplingDecision is called; this interface helps to abstract the actual instance holding the operation information (a SpanBuilder or Span) from the Sampler's external API.

Exposes access to information about the operation triggering the sampling. The Kamon tracer can take a sampling in two different situations: during Span creation via SpanBuilder.start (the most common case) and once a Span has been already started with an Unknown Sampling Decision and Span.takSamplingDecision is called; this interface helps to abstract the actual instance holding the operation information (a SpanBuilder or Span) from the Sampler's external API.