Uses of Interface
io.opentelemetry.context.ContextKey
-
Packages that use ContextKey Package Description io.opentelemetry.api.baggage API for associating entries with scoped operations.io.opentelemetry.api.incubator.propagation io.opentelemetry.api.internal Interfaces and implementations that are internal to OpenTelemetry.io.opentelemetry.api.trace API for distributed tracing.io.opentelemetry.context 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 ContextKey Modifier and Type Field Description (package private) static ContextKey<Baggage>
BaggageContextKey. KEY
-
Uses of ContextKey in io.opentelemetry.api.incubator.propagation
Fields in io.opentelemetry.api.incubator.propagation declared as ContextKey Modifier and Type Field Description private static ContextKey<java.util.List<java.lang.String>>
PassThroughPropagator. EXTRACTED_KEY_VALUES
-
Uses of ContextKey in io.opentelemetry.api.internal
Fields in io.opentelemetry.api.internal declared as ContextKey Modifier and Type Field Description private static ContextKey<java.lang.Boolean>
InstrumentationUtil. SUPPRESS_INSTRUMENTATION_KEY
-
Uses of ContextKey in io.opentelemetry.api.trace
Fields in io.opentelemetry.api.trace declared as ContextKey Modifier and Type Field Description (package private) static ContextKey<Span>
SpanContextKey. KEY
-
Uses of ContextKey in io.opentelemetry.context
Classes in io.opentelemetry.context that implement ContextKey Modifier and Type Class Description (package private) class
DefaultContextKey<T>
Methods in io.opentelemetry.context that return ContextKey Modifier and Type Method Description static <T> ContextKey<T>
ContextKey. named(java.lang.String name)
Returns a newContextKey
with the given debug name.Methods in io.opentelemetry.context with parameters of type ContextKey Modifier and Type Method Description <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.
-