org.typelevel.otel4s.sdk.trace.samplers.SamplingResult.TraceStateUpdater
See theTraceStateUpdater companion trait
object TraceStateUpdater
Attributes
- Companion
- trait
- Source
- SamplingResult.scala
- Graph
-
- Supertypes
- Self type
-
TraceStateUpdater.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 Serializabletrait Producttrait Equalstrait TraceStateUpdaterclass Objecttrait Matchableclass AnyShow 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 Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait TraceStateUpdaterclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait TraceStateUpdaterclass Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The name of the type
Implicits
In this article