TraceStateUpdater

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

A modifier of the parent's TraceState.

It may return the same trace state that was provided originally, or an updated one.

Attributes

Note

if an empty trace state is returned, the trace state will be cleared, so the updater should normally return the passed-in trace state (via TraceStateUpdater.Identity) if it's intended to be changed.

Companion
object
Source
SamplingResult.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Const
object Identity
class Modifier

Members list

Value members

Abstract methods

Attributes

Source
SamplingResult.scala