Trace

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

Type members

Classlikes

sealed abstract class SamplingDecision

A Sampling decision indicates whether Spans belonging to a trace should be captured and sent to the SpanReporters or not.

A Sampling decision indicates whether Spans belonging to a trace should be captured and sent to the SpanReporters or not.

Companion:
object
Companion:
class

Value members

Concrete methods

def apply(id: Identifier, samplingDecision: SamplingDecision): Trace

Creates a new Trace instance with the provided Id and Sampling Decision.

Creates a new Trace instance with the provided Id and Sampling Decision.

def create(id: Identifier, samplingDecision: SamplingDecision): Trace

Creates a new Trace instance with the provided Id and Sampling Decision.

Creates a new Trace instance with the provided Id and Sampling Decision.

Concrete fields

A trace without identifier nor sampling decision. Used to signal that there is no trace information available.

A trace without identifier nor sampling decision. Used to signal that there is no trace information available.