zio.telemetry.opentelemetry.baggage.propagation.BaggagePropagator.scala Maven / Gradle / Ivy
package zio.telemetry.opentelemetry.baggage.propagation
import io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
import io.opentelemetry.context.propagation.TextMapPropagator
import zio.telemetry.opentelemetry.internal.Propagator
trait BaggagePropagator extends Propagator
object BaggagePropagator {
/**
* Instance of W3C Baggage Propagator.
*
* @see
* Propagation format for distributed context: Baggage
*/
val default: BaggagePropagator =
new BaggagePropagator {
override val instance: TextMapPropagator =
W3CBaggagePropagator.getInstance()
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy