A B C D E G H I M O R T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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. - 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. - 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.
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.
- 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
- 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
.
G
- getAdditionalHelperClassNames() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Returns a list of additional instrumentation helper classes, which are not automatically detected during compile time.
- getProperties() - Method in interface io.opentelemetry.javaagent.extension.config.ConfigPropertySource
-
Returns all properties whose default values are overridden by this property source.
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. - 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
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
. - 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.
- 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
- 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
- methodIsDeclaredByType(ElementMatcher<? super TypeDescription>) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
-
Matches method's declaring class against a given type matcher.
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
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.
- registerHelperResources(HelperResourceBuilder) - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Register resource names to inject into the user's class loader.
T
- 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
.
All Classes All Packages