Uses of Interface
io.opentelemetry.context.ContextKey
Packages that use ContextKey
Package
Description
API for associating entries with scoped operations.
Interfaces and implementations that are internal to OpenTelemetry.
API for distributed tracing.
A context propagation mechanism which can carry scoped-values across API boundaries and between
threads.
-
Uses of ContextKey in io.opentelemetry.api.baggage
Fields in io.opentelemetry.api.baggage declared as ContextKeyModifier and TypeFieldDescription(package private) static final ContextKey
<Baggage> BaggageContextKey.KEY
-
Uses of ContextKey in io.opentelemetry.api.incubator.propagation
Fields in io.opentelemetry.api.incubator.propagation declared as ContextKeyModifier and TypeFieldDescriptionprivate static final ContextKey
<List<String>> PassThroughPropagator.EXTRACTED_KEY_VALUES
-
Uses of ContextKey in io.opentelemetry.api.internal
Fields in io.opentelemetry.api.internal declared as ContextKeyModifier and TypeFieldDescriptionprivate static final ContextKey
<Boolean> InstrumentationUtil.SUPPRESS_INSTRUMENTATION_KEY
-
Uses of ContextKey in io.opentelemetry.api.trace
Fields in io.opentelemetry.api.trace declared as ContextKeyModifier and TypeFieldDescription(package private) static final ContextKey
<Span> SpanContextKey.KEY
-
Uses of ContextKey in io.opentelemetry.context
Classes in io.opentelemetry.context that implement ContextKeyMethods in io.opentelemetry.context that return ContextKeyModifier and TypeMethodDescriptionstatic <T> ContextKey
<T> Returns a newContextKey
with the given debug name.Methods in io.opentelemetry.context with parameters of type ContextKeyModifier and TypeMethodDescription<V> V
ArrayBasedContext.get
(ContextKey<V> key) <V> V
Context.get
(ContextKey<V> key) Returns the value stored in thisContext
for the givenContextKey
, ornull
if there is no value for the key in this context.<V> Context
ArrayBasedContext.with
(ContextKey<V> key, V value) <V> Context
Context.with
(ContextKey<V> k1, V v1) Returns a new context with the given key value set.