A B C D E F G H I M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABSTRACT - io.opentelemetry.javaagent.extension.muzzle.Flag.ManifestationFlag
- add(String) - Method in interface io.opentelemetry.javaagent.extension.bootstrap.BootstrapPackagesBuilder
-
Mark
classNameOrPrefix
as one that belongs to the bootstrap classloader. - addAll(Collection<String>) - Method in interface io.opentelemetry.javaagent.extension.bootstrap.BootstrapPackagesBuilder
-
Mark all elements of
classNamesOrPrefixes
as ones that belongs to the bootstrap classloader. - addField(Source[], Flag[], String, Type, boolean) - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRefBuilder
- addFlag(Flag) - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRefBuilder
- addInterfaceName(String) - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRefBuilder
- addInterfaceNames(Collection<String>) - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRefBuilder
- addMethod(Source[], Flag[], String, Type, Type...) - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRefBuilder
- addSource(String) - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRefBuilder
- addSource(String, int) - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRefBuilder
- afterAgent(Config) - Method in interface io.opentelemetry.javaagent.extension.AgentListener
-
Runs after instrumentations are added to
AgentBuilder
and after the agent is installed on anInstrumentation
. - AgentElementMatchers - Class in io.opentelemetry.javaagent.extension.matcher
-
This class is a supplement to ByteBuddy's
ElementMatchers
- it provides some custom matcher implementations that might be useful for instrumentation purposes. - AgentExtension - Interface in io.opentelemetry.javaagent.extension
-
An
AgentExtension
provides a way to modify/enrich the OpenTelemetry Javaagent behavior. - AgentListener - Interface in io.opentelemetry.javaagent.extension
-
AgentListener
can be used to execute code before/after Java agent installation, for example to install any implementation providers that are used by instrumentations. - allowClass(String) - Method in interface io.opentelemetry.javaagent.extension.ignore.IgnoredTypesBuilder
-
Allow the class or package specified by
classNameOrPrefix
to be instrumented. - allowClassLoader(String) - Method in interface io.opentelemetry.javaagent.extension.ignore.IgnoredTypesBuilder
-
Allow the class loader specified by
classNameOrPrefix
to be instrumented. - applyAdviceToMethod(ElementMatcher<? super MethodDescription>, String) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer
-
Apply the advice class named
adviceClassName
to the instrumented type methods that matchmethodMatcher
. - applyTransformer(AgentBuilder.Transformer) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer
-
Apply a custom ByteBuddy
AgentBuilder.Transformer
to the instrumented type.
B
- beforeAgent(Config) - Method in interface io.opentelemetry.javaagent.extension.AgentListener
-
Runs before the
AgentBuilder
construction, before any instrumentation is added. - BootstrapPackagesBuilder - Interface in io.opentelemetry.javaagent.extension.bootstrap
-
This interface exposes a way to define which packages/classes are present in the bootstrap classloader.
- BootstrapPackagesConfigurer - Interface in io.opentelemetry.javaagent.extension.bootstrap
-
This SPI can be used to define which packages/classes belong to the bootstrap class loader: all packages configured here will always be loaded by the bootstrap class loader, even if class loader that initiated loading of the class does not normally delegate to bootstrap class loader.
- build() - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRefBuilder
C
- classLoaderMatcher() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
An instrumentation module can implement this method to make sure that the classloader contains the particular library version.
- classLoaderOptimization() - Method in interface io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
-
An optimization to short circuit matching in the case where the instrumented library is not even present on the class path.
- ClassRef - Class in io.opentelemetry.javaagent.extension.muzzle
-
Represents a reference to a class used in the instrumentation advice or helper class code (or the helper class itself).
- ClassRefBuilder - Class in io.opentelemetry.javaagent.extension.muzzle
-
The builder of
ClassRef
. - ConfigPropertySource - Interface in io.opentelemetry.javaagent.extension.config
-
A service provider that allows to override default OTel agent configuration.
- configure(Config, BootstrapPackagesBuilder) - Method in interface io.opentelemetry.javaagent.extension.bootstrap.BootstrapPackagesConfigurer
-
Configure the passed
builder
and define which classes should always be loaded by the bootstrap class loader. - configure(Config, IgnoredTypesBuilder) - Method in interface io.opentelemetry.javaagent.extension.ignore.IgnoredTypesConfigurer
-
Configure the passed
builder
and define which classes should be ignored when instrumenting.
D
- defaultEnabled() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Allows instrumentation modules to disable themselves by default, or to additionally disable themselves on some other condition.
E
- equals(Object) - Method in class io.opentelemetry.javaagent.extension.muzzle.FieldRef
- equals(Object) - Method in class io.opentelemetry.javaagent.extension.muzzle.MethodRef
- equals(Object) - Method in class io.opentelemetry.javaagent.extension.muzzle.Source
- extend(AgentBuilder) - Method in interface io.opentelemetry.javaagent.extension.AgentExtension
-
Extend the passed
agentBuilder
with custom logic (e.g. instrumentation). - extendsClass(ElementMatcher<TypeDescription>) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
-
Matches a type that extends a class (directly or indirectly) that matches the provided
matcher
. - extensionName() - Method in interface io.opentelemetry.javaagent.extension.AgentExtension
-
Returns the name of the extension.
F
- FieldRef - Class in io.opentelemetry.javaagent.extension.muzzle
-
Represents a reference to a field used in the instrumentation advice or helper class code.
- FINAL - io.opentelemetry.javaagent.extension.muzzle.Flag.ManifestationFlag
- Flag - Interface in io.opentelemetry.javaagent.extension.muzzle
-
Expected flag (or lack of flag) on a class, method or field reference.
- Flag.ManifestationFlag - Enum in io.opentelemetry.javaagent.extension.muzzle
-
The constants of this enum describe whether a method or class is abstract, final or non-final.
- Flag.MinimumVisibilityFlag - Enum in io.opentelemetry.javaagent.extension.muzzle
-
The constants of this enum represent the minimum visibility flag required by a type access, method call or field access.
- Flag.OwnershipFlag - Enum in io.opentelemetry.javaagent.extension.muzzle
-
The constants of this enum describe whether a method/field is static or not.
- Flag.VisibilityFlag - Enum in io.opentelemetry.javaagent.extension.muzzle
-
The constants of this enum represent the exact visibility of a referenced class, method or field.
- fromConfig(Properties) - Method in interface io.opentelemetry.javaagent.spi.exporter.MetricExporterFactory
-
Deprecated.Creates an instance of a
MetricExporter
based on the provided configuration. - fromConfig(Properties) - Method in interface io.opentelemetry.javaagent.spi.exporter.SpanExporterFactory
-
Deprecated.Creates an instance of a
SpanExporter
based on the provided configuration.
G
- getClassName() - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRef
-
Returns the name of this class.
- getDescriptor() - Method in class io.opentelemetry.javaagent.extension.muzzle.FieldRef
-
Returns this field's type descriptor.
- getDescriptor() - Method in class io.opentelemetry.javaagent.extension.muzzle.MethodRef
-
Returns this method's type descriptor.
- getFields() - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRef
-
Returns the set of references to fields of this class.
- getFlags() - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRef
-
Returns modifier flags of this class.
- getFlags() - Method in class io.opentelemetry.javaagent.extension.muzzle.FieldRef
-
Returns modifier flags of this field.
- getFlags() - Method in class io.opentelemetry.javaagent.extension.muzzle.MethodRef
-
Returns modifier flags of this method.
- getInterfaceNames() - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRef
-
Returns the set of interfaces implemented by this class.
- getLine() - Method in class io.opentelemetry.javaagent.extension.muzzle.Source
- getMethods() - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRef
-
Returns the set of references to methods of this class.
- getMuzzleContextStoreClasses() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Deprecated.
- getMuzzleHelperClassNames() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Returns a list of instrumentation helper classes, automatically detected by muzzle during compilation.
- getName() - Method in class io.opentelemetry.javaagent.extension.muzzle.FieldRef
-
Returns the field name.
- getName() - Method in class io.opentelemetry.javaagent.extension.muzzle.MethodRef
-
Returns the method name.
- getName() - Method in class io.opentelemetry.javaagent.extension.muzzle.Source
- getNames() - Method in interface io.opentelemetry.javaagent.spi.exporter.MetricExporterFactory
-
Deprecated.Returns names of metric exporters supported by this factory.
- getNames() - Method in interface io.opentelemetry.javaagent.spi.exporter.SpanExporterFactory
-
Deprecated.Returns names of span exporters supported by this factory.
- getProperties() - Method in interface io.opentelemetry.javaagent.extension.config.ConfigPropertySource
-
Returns all properties whose default values are overridden by this property source.
- getSources() - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRef
-
Returns information about code locations where this class was referenced.
- getSources() - Method in class io.opentelemetry.javaagent.extension.muzzle.FieldRef
-
Returns information about code locations where this field was referenced.
- getSources() - Method in class io.opentelemetry.javaagent.extension.muzzle.MethodRef
-
Returns information about code locations where this method was referenced.
- getSuperClassName() - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRef
-
Returns the name of the super class, if this class extends one; null otherwise.
H
- hasClassesNamed(String...) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
-
Matches a classloader that contains all classes that are passed as the
classNames
parameter. - hashCode() - Method in class io.opentelemetry.javaagent.extension.muzzle.FieldRef
- hashCode() - Method in class io.opentelemetry.javaagent.extension.muzzle.MethodRef
- hashCode() - Method in class io.opentelemetry.javaagent.extension.muzzle.Source
- hasSuperMethod(ElementMatcher<? super MethodDescription>) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
-
Matches a method and all its declarations up the class hierarchy including interfaces using provided matcher.
- hasSuperType(ElementMatcher<TypeDescription>) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
-
Matches a type that extends or implements a type (directly or indirectly) that matches the provided
matcher
. - HelperResourceBuilder - Interface in io.opentelemetry.javaagent.extension.instrumentation
- helperResourceNames() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Deprecated.
I
- ignoreClass(String) - Method in interface io.opentelemetry.javaagent.extension.ignore.IgnoredTypesBuilder
-
Ignore the class or package specified by
classNameOrPrefix
and exclude it from being instrumented. - ignoreClassLoader(String) - Method in interface io.opentelemetry.javaagent.extension.ignore.IgnoredTypesBuilder
-
Ignore the class loader specified by
classNameOrPrefix
and exclude it from being instrumented. - IgnoredTypesBuilder - Interface in io.opentelemetry.javaagent.extension.ignore
-
This interface defines different ways to ignore/allow instrumenting classes or packages.
- IgnoredTypesConfigurer - Interface in io.opentelemetry.javaagent.extension.ignore
-
An
IgnoredTypesConfigurer
can be used to augment built-in instrumentation restrictions: ignore some classes and exclude them from being instrumented, or explicitly allow them to be instrumented if the agent ignored them by default. - ignoreTaskClass(String) - Method in interface io.opentelemetry.javaagent.extension.ignore.IgnoredTypesBuilder
-
Ignore the Java concurrent task class specified by
classNameOrPrefix
and exclude it from being instrumented. - implementsInterface(ElementMatcher<TypeDescription>) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
-
Matches a type that implements an interface (directly or indirectly) that matches the provided
matcher
. - InstrumentationContextBuilder - Interface in io.opentelemetry.javaagent.extension.instrumentation
-
This interface allows registering
ContextStore
class pairs. - InstrumentationModule - Class in io.opentelemetry.javaagent.extension.instrumentation
-
Instrumentation module groups several connected
TypeInstrumentation
s together, sharing classloader matcher, helper classes, muzzle safety checks, etc. - InstrumentationModule(String, String...) - Constructor for class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Creates an instrumentation module.
- InstrumentationModule(List<String>) - Constructor for class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Creates an instrumentation module.
- instrumentationName() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Returns the main instrumentation name.
- INTERFACE - io.opentelemetry.javaagent.extension.muzzle.Flag.ManifestationFlag
- io.opentelemetry.javaagent.extension - package io.opentelemetry.javaagent.extension
- io.opentelemetry.javaagent.extension.bootstrap - package io.opentelemetry.javaagent.extension.bootstrap
- io.opentelemetry.javaagent.extension.config - package io.opentelemetry.javaagent.extension.config
- io.opentelemetry.javaagent.extension.ignore - package io.opentelemetry.javaagent.extension.ignore
- io.opentelemetry.javaagent.extension.instrumentation - package io.opentelemetry.javaagent.extension.instrumentation
- io.opentelemetry.javaagent.extension.matcher - package io.opentelemetry.javaagent.extension.matcher
- io.opentelemetry.javaagent.extension.muzzle - package io.opentelemetry.javaagent.extension.muzzle
- io.opentelemetry.javaagent.spi.exporter - package io.opentelemetry.javaagent.spi.exporter
- isDeclared() - Method in class io.opentelemetry.javaagent.extension.muzzle.FieldRef
-
Denotes whether this field is declared in the class reference it is a part of.
- isEnabled() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Returns true if this instrumentation module should be installed.
- isHelperClass(String) - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Instrumentation modules can override this method to specify additional packages (or classes) that should be treated as "library instrumentation" packages.
M
- matches(int) - Method in interface io.opentelemetry.javaagent.extension.muzzle.Flag
-
Predicate method that determines whether this flag is present in the passed bitmask.
- merge(ClassRef) - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRef
-
Create a new reference which combines this reference with another reference of the same type.
- methodIsDeclaredByType(ElementMatcher<? super TypeDescription>) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
-
Matches method's declaring class against a given type matcher.
- MethodRef - Class in io.opentelemetry.javaagent.extension.muzzle
-
Represents a reference to a method used in the instrumentation advice or helper class code.
- MetricExporterFactory - Interface in io.opentelemetry.javaagent.spi.exporter
-
Deprecated.Use
io.opentelemetry.sdk.autoconfigure.spi.ConfigurableMetricExporterProvider
from theopentelemetry-sdk-extension-autoconfigure
instead.
N
- name() - Method in interface io.opentelemetry.javaagent.extension.muzzle.Flag
-
Same as
Enum.name()
. - newBuilder(String) - Static method in class io.opentelemetry.javaagent.extension.muzzle.ClassRef
-
Start building a new reference.
- NON_FINAL - io.opentelemetry.javaagent.extension.muzzle.Flag.ManifestationFlag
- NON_INTERFACE - io.opentelemetry.javaagent.extension.muzzle.Flag.ManifestationFlag
- NON_STATIC - io.opentelemetry.javaagent.extension.muzzle.Flag.OwnershipFlag
O
- order() - Method in interface io.opentelemetry.javaagent.extension.Ordered
-
Returns the order of applying the SPI implementing this interface.
- Ordered - Interface in io.opentelemetry.javaagent.extension
P
- PACKAGE - io.opentelemetry.javaagent.extension.muzzle.Flag.VisibilityFlag
- PACKAGE_OR_HIGHER - io.opentelemetry.javaagent.extension.muzzle.Flag.MinimumVisibilityFlag
- PRIVATE - io.opentelemetry.javaagent.extension.muzzle.Flag.VisibilityFlag
- PRIVATE_OR_HIGHER - io.opentelemetry.javaagent.extension.muzzle.Flag.MinimumVisibilityFlag
- PROTECTED - io.opentelemetry.javaagent.extension.muzzle.Flag.VisibilityFlag
- PROTECTED_OR_HIGHER - io.opentelemetry.javaagent.extension.muzzle.Flag.MinimumVisibilityFlag
- PUBLIC - io.opentelemetry.javaagent.extension.muzzle.Flag.MinimumVisibilityFlag
- PUBLIC - io.opentelemetry.javaagent.extension.muzzle.Flag.VisibilityFlag
R
- register(String) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.HelperResourceBuilder
-
Registers a resource to be injected in the user's class loader.
- register(String, String) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.HelperResourceBuilder
-
Registers a resource to be injected in the user's class loader.
- register(String, String) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.InstrumentationContextBuilder
-
Register the association between the
keyClassName
and thecontextClassName
. - registerHelperResources(HelperResourceBuilder) - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Register resource names to inject into the user's class loader.
- registerMuzzleContextStoreClasses(InstrumentationContextBuilder) - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Builds the associations between instrumented library classes and instrumentation context classes.
S
- setSuperClassName(String) - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRefBuilder
- Source - Class in io.opentelemetry.javaagent.extension.muzzle
-
Represents the source (file name, line number) of a reference.
- Source(String, int) - Constructor for class io.opentelemetry.javaagent.extension.muzzle.Source
- SpanExporterFactory - Interface in io.opentelemetry.javaagent.spi.exporter
-
Deprecated.Use
io.opentelemetry.sdk.autoconfigure.spi.ConfigurableSpanExporterProvider
from theopentelemetry-sdk-extension-autoconfigure
instead. - STATIC - io.opentelemetry.javaagent.extension.muzzle.Flag.OwnershipFlag
T
- toString() - Method in class io.opentelemetry.javaagent.extension.muzzle.ClassRef
- toString() - Method in class io.opentelemetry.javaagent.extension.muzzle.FieldRef
- toString() - Method in class io.opentelemetry.javaagent.extension.muzzle.MethodRef
- toString() - Method in class io.opentelemetry.javaagent.extension.muzzle.Source
- transform(TypeTransformer) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
-
Define transformations that should be applied to classes matched by
TypeInstrumentation.typeMatcher()
, for example: apply advice classes to chosen methods (TypeTransformer.applyAdviceToMethod(ElementMatcher, String)
. - TypeInstrumentation - Interface in io.opentelemetry.javaagent.extension.instrumentation
-
Interface representing a single type instrumentation.
- typeInstrumentations() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Returns a list of all individual type instrumentation in this module.
- typeMatcher() - Method in interface io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
-
Returns a type matcher defining which classes should undergo transformations defined in the
TypeInstrumentation.transform(TypeTransformer)
method. - TypeTransformer - Interface in io.opentelemetry.javaagent.extension.instrumentation
-
This interface represents type transformations that can be applied to a type instrumented using
TypeInstrumentation
.
V
- valueOf(String) - Static method in enum io.opentelemetry.javaagent.extension.muzzle.Flag.ManifestationFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.javaagent.extension.muzzle.Flag.MinimumVisibilityFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.javaagent.extension.muzzle.Flag.OwnershipFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.javaagent.extension.muzzle.Flag.VisibilityFlag
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.opentelemetry.javaagent.extension.muzzle.Flag.ManifestationFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.javaagent.extension.muzzle.Flag.MinimumVisibilityFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.javaagent.extension.muzzle.Flag.OwnershipFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.javaagent.extension.muzzle.Flag.VisibilityFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages