Packages

trait Baggage extends AnyRef

Self Type
Baggage
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Baggage
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def extract[C](propagator: BaggagePropagator, carrier: IncomingContextCarrier[C])(implicit trace: Trace): UIO[Unit]

    Extracts the baggage data from carrier C into the current context.

    Extracts the baggage data from carrier C into the current context.

    C

    carrier

    propagator

    implementation of zio.telemetry.opentelemetry.baggage.propagation.BaggagePropagator

    carrier

    mutable data from which the parent span is extracted

  2. abstract def get(name: String)(implicit trace: Trace): UIO[Option[String]]

    Gets the value by a given name.

    Gets the value by a given name.

    returns

    value

  3. abstract def getAll(implicit trace: Trace): UIO[Map[String, String]]

    Gets all values.

    Gets all values.

    returns

    all values

  4. abstract def getAllWithMetadata(implicit trace: Trace): UIO[Map[String, (String, String)]]

    Gets all values accompanied by metadata.

  5. abstract def getCurrentBaggageUnsafe(implicit trace: Trace): UIO[io.opentelemetry.api.baggage.Baggage]

    Gets the baggage from current context.

  6. abstract def inject[C](propagator: BaggagePropagator, carrier: OutgoingContextCarrier[C])(implicit trace: Trace): UIO[Unit]

    Injects the baggage data from the current context into carrier C.

    Injects the baggage data from the current context into carrier C.

    C

    carrier

    propagator

    implementation of zio.telemetry.opentelemetry.baggage.propagation.BaggagePropagator

    carrier

    mutable data from which the parent span is extracted

  7. abstract def remove(name: String)(implicit trace: Trace): UIO[Unit]

    Removes the name/value by a given name.

  8. abstract def set(name: String, value: String)(implicit trace: Trace): UIO[Unit]

    Sets the new value for a given name.

  9. abstract def setWithMetadata(name: String, value: String, metadata: String)(implicit trace: Trace): UIO[Unit]

    Sets the new value and metadata for a given name.

    Sets the new value and metadata for a given name.

    metadata

    opaque string

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped