SamplingDecision

org.typelevel.otel4s.sdk.trace.samplers.SamplingDecision
See theSamplingDecision companion class

Attributes

Companion
class
Source
SamplingDecision.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object Drop extends SamplingDecision

The span is not recorded, and all events and attributes will be dropped.

The span is not recorded, and all events and attributes will be dropped.

Attributes

Source
SamplingDecision.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Drop.type
case object RecordAndSample extends SamplingDecision

The span is recorded, and the Sampled flag will be set.

The span is recorded, and the Sampled flag will be set.

Attributes

Source
SamplingDecision.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object RecordOnly extends SamplingDecision

The span is recorded, but the Sampled flag will not be set.

The span is recorded, but the Sampled flag will not be set.

Attributes

Source
SamplingDecision.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
RecordOnly.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Implicits

Implicits