trait Baggage extends AnyRef
- Self Type
- Baggage
- Alphabetic
- By Inheritance
- Baggage
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
extract[C](propagator: BaggagePropagator, carrier: IncomingContextCarrier[C])(implicit trace: Trace): UIO[Unit]
Extracts the baggage data from carrier
Cinto the current context.Extracts the baggage data from carrier
Cinto the current context.- C
carrier
- propagator
implementation of zio.telemetry.opentelemetry.baggage.propagation.BaggagePropagator
- carrier
mutable data from which the parent span is extracted
-
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
-
abstract
def
getAll(implicit trace: Trace): UIO[Map[String, String]]
Gets all values.
Gets all values.
- returns
all values
-
abstract
def
getAllWithMetadata(implicit trace: Trace): UIO[Map[String, (String, String)]]
Gets all values accompanied by metadata.
-
abstract
def
getCurrentBaggageUnsafe(implicit trace: Trace): UIO[io.opentelemetry.api.baggage.Baggage]
Gets the baggage from current context.
-
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
-
abstract
def
remove(name: String)(implicit trace: Trace): UIO[Unit]
Removes the name/value by a given name.
-
abstract
def
set(name: String, value: String)(implicit trace: Trace): UIO[Unit]
Sets the new value for a given name.
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )