IncomingContextCarrier

zio.telemetry.opentelemetry.context.IncomingContextCarrier
See theIncomingContextCarrier companion object

The wrapper for the context data from the external process.

Attributes

Companion:
object
Graph
Supertypes
trait TextMapGetter[T]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def getAllKeys(carrier: T): Iterable[String]

Scala API for the keys method.

Scala API for the keys method.

Attributes

carrier

the context data

Returns:

all the keys saved in the current context

def getByKey(carrier: T, key: String): Option[String]

Scala API for the get method.

Scala API for the get method.

Attributes

carrier

the context data

Returns:

optional value by the given key saved in the current context

Concrete methods

override def get(carrier: T, key: String): String

Attributes

Definition Classes
override def keys(carrier: T): Iterable[String]

Attributes

Definition Classes

Inherited fields

val kernel: T

The data to be injected/extracted into/from the current context

The data to be injected/extracted into/from the current context

Attributes

Inherited from:
ContextCarrier (hidden)