Package io.opentelemetry.extension.annotations
@ParametersAreNonnullByDefault
package io.opentelemetry.extension.annotations
This module contains various annotations that can be used by clients of OpenTelemetry API. They
don't provide any functionality by themselves, but other modules, e.g. OpenTelemetry
Auto-Instrumentation can use them to enhance their functionality.
Note: If you are a library developer, then you should NOT use this module, because it is useless without some kind of annotation processing, such as bytecode manipulation during runtime. You cannot guarantee that users of your library will use that in their production system.
-
Annotation TypesClassDescriptionDeprecated.Deprecated.Moved to
io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:<version>in version 1.17.0+.
io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:<version>in version 1.17.0+.