A B C D E F G H I M N O P S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABSTRACT - io.opentelemetry.javaagent.extension.muzzle.Flag.ManifestationFlag
- 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 provides some custom ByteBuddy element matchers to use when applying instrumentation.
- 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. - allowTaskClass(String) - Method in interface io.opentelemetry.javaagent.extension.ignore.IgnoredTypesBuilder
-
Allow the Java concurrent task class 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. - BOOTSTRAP_CLASSLOADER - Static variable in class io.opentelemetry.javaagent.extension.matcher.ClassLoaderMatcher
- BootstrapPackagesProvider - Interface in io.opentelemetry.javaagent.spi
-
A service provider to allow adding classes from specified package prefixes to the bootstrap classloader.
- 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.
- ClassLoaderMatcher - Class in io.opentelemetry.javaagent.extension.matcher
- 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
. - 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
- extensionName() - Method in interface io.opentelemetry.javaagent.extension.AgentExtension
-
Returns the name of the extension.
F
- failSafe(ElementMatcher<? super T>, String) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
-
Wraps another matcher to assure that an element is not matched in case that the matching causes an
Exception
. - 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
-
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
-
Returns a map of
class-name to context-class-name
. - getMuzzleHelperClassNames() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Returns a list of instrumentation helper classes, automatically detected by muzzle during compilation.
- getMuzzleReferences() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Returns references to helper and library classes used in this module's type instrumentation advices, grouped by
ClassRef.getClassName()
. - 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
-
Returns names of metric exporters supported by this factory.
- getNames() - Method in interface io.opentelemetry.javaagent.spi.exporter.MetricServer
-
Returns names of metric servers supported by this factory.
- getNames() - Method in interface io.opentelemetry.javaagent.spi.exporter.SpanExporterFactory
-
Deprecated.Returns names of span exporters supported by this factory.
- getPackagePrefixes() - Method in interface io.opentelemetry.javaagent.spi.BootstrapPackagesProvider
-
Classes from returned package prefixes will be available in the bootstrap classloader.
- getProperties() - Method in interface io.opentelemetry.javaagent.spi.config.PropertySource
-
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.ClassLoaderMatcher
-
NOTICE: Does not match the bootstrap classpath.
- 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.
- helperResourceNames() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
-
Returns a list of resource names to inject into the user's classloader.
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
- 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.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 - package io.opentelemetry.javaagent.spi
- io.opentelemetry.javaagent.spi.config - package io.opentelemetry.javaagent.spi.config
- 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<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
-
A
MetricExporterFactory
acts as the bootstrap for aMetricExporter
implementation. - MetricServer - Interface in io.opentelemetry.javaagent.spi.exporter
-
A
MetricServer
acts as the bootstrap for metric exporters that useMetricProducer
to consume the metrics.
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
- PropertySource - Interface in io.opentelemetry.javaagent.spi.config
-
A service provider that allows to override default OTel agent configuration.
- 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
S
- safeHasSuperType(ElementMatcher<TypeDescription>) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
- 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. - start(MetricProducer, Properties) - Method in interface io.opentelemetry.javaagent.spi.exporter.MetricServer
-
Start the metric server that pulls metric from the
MetricProducer
. - 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