Operation

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.

class Object
trait Matchable
class Any
class Span
class Delayed
object Empty.type
class Local
class Remote

Value members

Abstract methods

def operationName(): String

Name assigned to the operation that triggers the sampler. The name is typically assigned by either the user or automatic instrumentation.

Name assigned to the operation that triggers the sampler. The name is typically assigned by either the user or automatic instrumentation.