org.typelevel.otel4s.context.propagation.PassThroughPropagator
See thePassThroughPropagator companion object
A TextMapPropagator that extracts a specified collection of fields and stores them in a context, and extracts them from a context later for injection . It does not interact with telemetry.
Members list
Injects data from the context into a copy of the given immutable carrier
for downstream consumers, for example as HTTP headers .
Injects data from the context into a copy of the given immutable carrier
for downstream consumers, for example as HTTP headers .
This method is an extension to the OpenTelemetry specification to support immutable carrier types.
Type parameters
A
the type of the carrier
Value parameters
carrier
holds propagation fields
ctx
the context containing the value to be injected
Attributes
Returns
a copy of the carrier, with new fields injected
Source
PassThroughPropagator.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
Returns
a string representation of the object.
Definition Classes
Any
Source
PassThroughPropagator.scala
The collection of propagation fields.