A C D E F G I K M N R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addWrapper(Function<? super ContextStorage, ? extends ContextStorage>) - Static method in interface io.opentelemetry.context.ContextStorage
-
Adds the
wrapper, which will be executed with theContextStorageis first used, i.e., by callingContext.makeCurrent(). - attach(Context) - Method in interface io.opentelemetry.context.ContextStorage
C
- close() - Method in interface io.opentelemetry.context.Scope
- composite(TextMapPropagator...) - Static method in interface io.opentelemetry.context.propagation.TextMapPropagator
-
Returns a
TextMapPropagatorwhich simply delegates injection and extraction to the provided propagators. - composite(Iterable<TextMapPropagator>) - Static method in interface io.opentelemetry.context.propagation.TextMapPropagator
-
Returns a
TextMapPropagatorwhich simply delegates injection and extraction to the provided propagators. - Context - Interface in io.opentelemetry.context
-
A context propagation mechanism which can carry scoped-values across API boundaries and between threads.
- ContextKey<T> - Interface in io.opentelemetry.context
-
Key for indexing values of type
ContextKeystored in aContext. - ContextPropagators - Interface in io.opentelemetry.context.propagation
-
A container of the registered propagators for every supported format.
- ContextStorage - Interface in io.opentelemetry.context
-
The storage for storing and retrieving the current
Context. - ContextStorageProvider - Interface in io.opentelemetry.context
-
A Java SPI (Service Provider Interface) to allow replacing the default
ContextStorage. - create(TextMapPropagator) - Static method in interface io.opentelemetry.context.propagation.ContextPropagators
-
Returns a
ContextPropagatorswhich can be used to extract and inject context in text payloads with the givenTextMapPropagator. - current() - Static method in interface io.opentelemetry.context.Context
-
Return the context associated with the current
Scope. - current() - Method in interface io.opentelemetry.context.ContextStorage
-
Returns the current
Context.
D
- defaultStorage() - Static method in interface io.opentelemetry.context.ContextStorage
-
Returns the default
ContextStoragewhich storesContextusing a threadlocal.
E
- extract(Context, C, TextMapGetter<C>) - Method in interface io.opentelemetry.context.propagation.TextMapPropagator
-
Extracts data from upstream.
F
- fields() - Method in interface io.opentelemetry.context.propagation.TextMapPropagator
-
The propagation fields defined.
G
- get() - Static method in interface io.opentelemetry.context.ContextStorage
-
Returns the
ContextStoragebeing used by this application. - get() - Method in interface io.opentelemetry.context.ContextStorageProvider
-
Returns the
ContextStorageto use to storeContext. - get(C, String) - Method in interface io.opentelemetry.context.propagation.TextMapGetter
-
Returns the first value of the given propagation
keyor returnsnull. - get(ContextKey<V>) - Method in interface io.opentelemetry.context.Context
-
Returns the value stored in this
Contextfor the givenContextKey, ornullif there is no value for the key in this context. - getTextMapPropagator() - Method in interface io.opentelemetry.context.propagation.ContextPropagators
-
Returns a
TextMapPropagatorpropagator.
I
- ImplicitContextKeyed - Interface in io.opentelemetry.context
-
A value that can be stored inside
Context. - inject(Context, C, TextMapSetter<C>) - Method in interface io.opentelemetry.context.propagation.TextMapPropagator
-
Injects data for downstream consumers, for example as HTTP headers.
- io.opentelemetry.context - package io.opentelemetry.context
-
A context propagation mechanism which can carry scoped-values across API boundaries and between threads.
- io.opentelemetry.context.propagation - package io.opentelemetry.context.propagation
-
Interfaces for defining
ContextPropagatorsfor allowing context propagation across process boundaries, for example when sending context to a remote server.
K
- keys(C) - Method in interface io.opentelemetry.context.propagation.TextMapGetter
-
Returns all the keys in the given carrier.
M
- makeCurrent() - Method in interface io.opentelemetry.context.Context
-
Makes this the current context and returns a
Scopewhich corresponds to the scope of execution this context is current for. - makeCurrent() - Method in interface io.opentelemetry.context.ImplicitContextKeyed
-
Adds this
ImplicitContextKeyedvalue to thecurrent contextand makes the newContextthe current context.
N
- named(String) - Static method in interface io.opentelemetry.context.ContextKey
-
Returns a new
ContextKeywith the given debug name. - noop() - Static method in interface io.opentelemetry.context.propagation.ContextPropagators
-
Returns a
ContextPropagatorswhich performs no injection or extraction. - noop() - Static method in interface io.opentelemetry.context.propagation.TextMapPropagator
-
Returns a
TextMapPropagatorwhich does no injection or extraction. - noop() - Static method in interface io.opentelemetry.context.Scope
-
Returns a
Scopethat does nothing.
R
S
- Scope - Interface in io.opentelemetry.context
-
An
AutoCloseablethat represents a mounted context for a block of code. - set(C, String, String) - Method in interface io.opentelemetry.context.propagation.TextMapSetter
-
Replaces a propagated field with the given value.
- storeInContext(Context) - Method in interface io.opentelemetry.context.ImplicitContextKeyed
T
- TextMapGetter<C> - Interface in io.opentelemetry.context.propagation
-
Interface that allows a
TextMapPropagatorto read propagated fields from a carrier. - TextMapPropagator - Interface in io.opentelemetry.context.propagation
-
Injects and extracts a value as text into carriers that travel in-band across process boundaries.
- TextMapSetter<C> - Interface in io.opentelemetry.context.propagation
-
Class that allows a
TextMapPropagatorto set propagated fields into a carrier.
W
- with(ContextKey<V>, V) - Method in interface io.opentelemetry.context.Context
-
Returns a new context with the given key value set.
- with(ImplicitContextKeyed) - Method in interface io.opentelemetry.context.Context
-
Returns a new
Contextwith the givenImplicitContextKeyedset. - wrap(Runnable) - Method in interface io.opentelemetry.context.Context
- wrap(Callable<T>) - Method in interface io.opentelemetry.context.Context
- wrap(Executor) - Method in interface io.opentelemetry.context.Context
-
Returns an
Executorthat will execute callbacks in the givenexecutor, making this the current context before each execution. - wrap(ExecutorService) - Method in interface io.opentelemetry.context.Context
-
Returns an
ExecutorServicethat will execute callbacks in the givenexecutor, making this the current context before each execution. - wrap(ScheduledExecutorService) - Method in interface io.opentelemetry.context.Context
-
Returns an
ScheduledExecutorServicethat will execute callbacks in the givenexecutor, making this the current context before each execution.
All Classes All Packages