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 newContextKeywith the given debug name.Methods in io.opentelemetry.context with parameters of type ContextKeyModifier and TypeMethodDescription<V> VArrayBasedContext.get(ContextKey<V> key) <V> VContext.get(ContextKey<V> key) Returns the value stored in thisContextfor the givenContextKey, ornullif there is no value for the key in this context.<V> ContextArrayBasedContext.with(ContextKey<V> key, V value) <V> ContextContext.with(ContextKey<V> k1, V v1) Returns a new context with the given key value set.