TraceStateUpdater

org.typelevel.otel4s.sdk.trace.samplers.SamplingResult.TraceStateUpdater
See theTraceStateUpdater companion trait

Attributes

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

Members list

Type members

Classlikes

final case class Const(const: TraceState) extends TraceStateUpdater

Always returns the const state.

Always returns the const state. No matter the input.

Attributes

Source
SamplingResult.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object Identity extends TraceStateUpdater

Always returns the given trace state without modifications.

Always returns the given trace state without modifications.

Attributes

Source
SamplingResult.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Identity.type
final case class Modifier(modify: TraceState => TraceState) extends TraceStateUpdater

Returns the given trace state modified by the modify function.

Returns the given trace state modified by the modify function.

Attributes

Source
SamplingResult.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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