org.typelevel.otel4s.sdk.trace.SdkContextKeys
The keys that can be used by a third-party integrations.
Attributes
-
Source
-
SdkContextKeys.scala
-
Graph
-
-
Supertypes
-
trait Matchable
class Any
-
Self type
-
Members list
The Baggage is stored under this key in the Context.
To retrieve the baggage use:
val context: Context = ???
val baggage: Option[Baggage] = context.get(SdkContextKeys.BaggageKey)
Attributes
-
Source
-
SdkContextKeys.scala
The SpanContext is stored under this key in the Context.
To retrieve the context use:
val context: Context = ???
val spanContext: Option[SpanContext] = context.get(SdkContextKeys.SpanContextKey)
Attributes
-
Source
-
SdkContextKeys.scala