All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zio.telemetry.opentelemetry.tracing.propagation.TraceContextPropagator.scala Maven / Gradle / Ivy

The newest version!
package zio.telemetry.opentelemetry.tracing.propagation

import io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
import io.opentelemetry.context.propagation.TextMapPropagator
import zio.telemetry.opentelemetry.internal.Propagator

trait TraceContextPropagator extends Propagator

object TraceContextPropagator {

  /**
   * Instance of W3C Trace Context Propagator.
   *
   * @see
   *   Trace Context
   */
  val default: TraceContextPropagator =
    new TraceContextPropagator {
      override val instance: TextMapPropagator =
        W3CTraceContextPropagator.getInstance()
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy