TextMapPropagator

org.typelevel.otel4s.context.propagation.TextMapPropagator
See theTextMapPropagator companion trait

Attributes

Companion
trait
Source
TextMapPropagator.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def noop[Ctx]: TextMapPropagator[Ctx]

Creates a no-op implementation of the TextMapPropagator.

Creates a no-op implementation of the TextMapPropagator.

All propagation operations are no-op.

Attributes

Source
TextMapPropagator.scala
def of[Ctx](propagators: TextMapPropagator[Ctx]*): TextMapPropagator[Ctx]

Creates a TextMapPropagator which delegates injection and extraction to the provided propagators.

Creates a TextMapPropagator which delegates injection and extraction to the provided propagators.

Type parameters

Ctx

the context to use to extract or inject data

Value parameters

propagators

the propagators to use for injection and extraction

Attributes

Example

val w3cPropagator: TextMapPropagator[Context] = ???
val httpTracePropagator: TextMapPropagator[Context] = ???
val textMapPropagator = TextMapPropagator.of(w3cPropagator, httpTracePropagator)
Source
TextMapPropagator.scala

Implicits

Implicits

Attributes

Source
TextMapPropagator.scala