A B C E F G I J R S U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AnnotationReflectionHelper - Class in io.opentelemetry.instrumentation.api.annotation.support
-
Helper class for reflecting over annotations at runtime..
- apply(AttributeSetter, Object) - Method in interface io.opentelemetry.instrumentation.api.annotation.support.AttributeBinding
-
Applies the value of the method argument as an attribute on the span for the traced method.
- apply(AttributeSetter, Object[]) - Method in interface io.opentelemetry.instrumentation.api.annotation.support.AttributeBindings
-
Applies the values of the method arguments as attributes on the span for the traced method.
- apply(AttributeSetter, Object[]) - Method in enum io.opentelemetry.instrumentation.api.annotation.support.BaseAttributeBinder.EmptyAttributeBindings
- asyncEnd(Context, REQUEST, ASYNC, Throwable) - Method in class io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndSupport
-
Attempts to compose over passed
asyncValueand delay theInstrumenter.end(Context, Object, Object, Throwable)call until the async operation completes. - AsyncOperationEndStrategies - Class in io.opentelemetry.instrumentation.api.annotation.support.async
-
A global registry of
AsyncOperationEndStrategyimplementations. - AsyncOperationEndStrategies() - Constructor for class io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategies
- AsyncOperationEndStrategy - Interface in io.opentelemetry.instrumentation.api.annotation.support.async
-
Implementations of this interface describe how to compose over supported asynchronous computation types and delay marking the operation as ended by calling
Instrumenter.end(Context, Object, Object, Throwable). - AsyncOperationEndSupport<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.annotation.support.async
-
A wrapper over
Instrumenterthat is able to deferInstrumenter.end(Context, Object, Object, Throwable)until asynchronous computation finishes. - AsyncSpanEndStrategies - Class in io.opentelemetry.instrumentation.api.tracer.async
-
Registry of
AsyncSpanEndStrategyimplementations for tracing the asynchronous operations represented by the return type of a traced method. - AsyncSpanEndStrategy - Interface in io.opentelemetry.instrumentation.api.tracer.async
-
Represents an implementation of a strategy for composing over the return value of an asynchronous traced method which can compose or register for notification of completion at which point the span representing the invocation of the method will be ended.
- AttributeBinding - Interface in io.opentelemetry.instrumentation.api.annotation.support
-
Represents the binding of a method parameter to an attribute of a traced method.
- AttributeBindings - Interface in io.opentelemetry.instrumentation.api.annotation.support
-
Represents the bindings of method parameters to attributes of a traced method.
- attributeNamesForParameters(Method, Parameter[]) - Method in class io.opentelemetry.instrumentation.api.annotation.support.BaseAttributeBinder
-
Returns an array of the names of the attributes for the parameters of the traced method.
B
- BaseAttributeBinder - Class in io.opentelemetry.instrumentation.api.annotation.support
-
Base class for instrumentation-specific attribute binding for traced methods.
- BaseAttributeBinder() - Constructor for class io.opentelemetry.instrumentation.api.annotation.support.BaseAttributeBinder
- BaseAttributeBinder.EmptyAttributeBindings - Enum in io.opentelemetry.instrumentation.api.annotation.support
- bind(Method) - Method in class io.opentelemetry.instrumentation.api.annotation.support.BaseAttributeBinder
-
Creates a binding of the parameters of the traced method to span attributes.
- bindAnnotationElementMethod(MethodHandles.Lookup, Class<? extends Annotation>, String, Class<T>) - Static method in class io.opentelemetry.instrumentation.api.annotation.support.AnnotationReflectionHelper
-
Binds a lambda of the functional interface
Function<A extends Annotation, T>to the element of anAnnotationclass by name which, when invoked with an instance of that annotation, will return the value of that element.
C
- create(Instrumenter<REQUEST, RESPONSE>, Class<RESPONSE>, Class<?>) - Static method in class io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndSupport
-
Returns a new
AsyncOperationEndSupportthat wraps over passedsyncInstrumenter, configured for usage with asynchronous computations that are instances ofasyncType.
E
- end(Instrumenter<REQUEST, RESPONSE>, Context, REQUEST, Object, Class<RESPONSE>) - Method in interface io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategy
-
Composes over
asyncValueand delays theInstrumenter.end(Context, Object, Object, Throwable)call until after the asynchronous operation represented byasyncValuecompletes. - end(Instrumenter<REQUEST, RESPONSE>, Context, REQUEST, Object, Class<RESPONSE>) - Method in enum io.opentelemetry.instrumentation.api.annotation.support.async.Jdk8AsyncOperationEndStrategy
- end(BaseTracer, Context, Object) - Method in interface io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategy
-
Denotes the end of the invocation of the traced method with a successful result which will end the span stored in the passed
context.
F
- forNameOrNull(ClassLoader, String) - Static method in class io.opentelemetry.instrumentation.api.annotation.support.AnnotationReflectionHelper
-
Returns the
Class<? extends Annotation>for the name of theAnnotationat runtime, otherwise returnsnull.
G
- getInstance() - Static method in class io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategies
I
- instance() - Static method in class io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategies
-
Obtain instance of the async strategy registry.
- INSTANCE - io.opentelemetry.instrumentation.api.annotation.support.async.Jdk8AsyncOperationEndStrategy
- INSTANCE - io.opentelemetry.instrumentation.api.annotation.support.BaseAttributeBinder.EmptyAttributeBindings
- internalSetStrategiesStorage(AsyncOperationEndStrategies) - Static method in class io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategies
-
Sets the actual strategies' registry implementation.
- io.opentelemetry.instrumentation.api.annotation.support - package io.opentelemetry.instrumentation.api.annotation.support
-
Provides utility classes to provide support for instrumenting annotated methods.
- io.opentelemetry.instrumentation.api.annotation.support.async - package io.opentelemetry.instrumentation.api.annotation.support.async
-
Provides implementations of strategies for instrumenting methods that return asynchronous and/or reactive values so that the operation can be ended when the asynchronous type completes.
- io.opentelemetry.instrumentation.api.tracer.async - package io.opentelemetry.instrumentation.api.tracer.async
-
Provides implementations of strategies for tracing methods that return asynchronous and reactive values so that the span can be ended when the asynchronous operation completes.
- isEmpty() - Method in interface io.opentelemetry.instrumentation.api.annotation.support.AttributeBindings
-
Indicates that the traced method has no parameters bound to attributes.
- isEmpty() - Method in enum io.opentelemetry.instrumentation.api.annotation.support.BaseAttributeBinder.EmptyAttributeBindings
J
- Jdk8AsyncOperationEndStrategy - Enum in io.opentelemetry.instrumentation.api.annotation.support.async
R
- registerStrategy(AsyncOperationEndStrategy) - Method in class io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategies
-
Add the passed
strategyto the registry. - registerStrategy(AsyncSpanEndStrategy) - Method in class io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategies
- resolveStrategy(Class<?>) - Method in class io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategies
-
Returns an
AsyncOperationEndStrategythat is able to compose overreturnType, ornullif passed type is not supported by any of the strategies stored in this registry. - resolveStrategy(Class<?>) - Method in class io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategies
S
- supports(Class<?>) - Method in interface io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategy
-
Returns true for every asynchronous computation type
asyncTypethis strategy supports. - supports(Class<?>) - Method in enum io.opentelemetry.instrumentation.api.annotation.support.async.Jdk8AsyncOperationEndStrategy
- supports(Class<?>) - Method in interface io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategy
U
- unregisterStrategy(AsyncOperationEndStrategy) - Method in class io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategies
-
Remove the passed
strategyfrom the registry. - unregisterStrategy(AsyncSpanEndStrategy) - Method in class io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategies
- unregisterStrategy(Class<? extends AsyncSpanEndStrategy>) - Method in class io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategies
V
- valueOf(String) - Static method in enum io.opentelemetry.instrumentation.api.annotation.support.async.Jdk8AsyncOperationEndStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.instrumentation.api.annotation.support.BaseAttributeBinder.EmptyAttributeBindings
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.opentelemetry.instrumentation.api.annotation.support.async.Jdk8AsyncOperationEndStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.instrumentation.api.annotation.support.BaseAttributeBinder.EmptyAttributeBindings
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages