Index

A C D E F G H I J M R S T V 
All Classes and Interfaces|All Packages

A

addCache(Cache<ClassLoader, Boolean>) - Static method in class io.opentelemetry.javaagent.bootstrap.internal.ClassLoaderMatcherCacheHolder
 
afterAgent(AutoConfiguredOpenTelemetrySdk) - Method in interface io.opentelemetry.javaagent.extension.AgentListener
Runs after instrumentations are added to AgentBuilder and after the agent is installed on an Instrumentation.
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 after Java agent installation.
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 match methodMatcher.
applyTransformer(AgentBuilder.Transformer) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer
Apply a custom ByteBuddy AgentBuilder.Transformer to the instrumented type.

C

CallDepth - Class in io.opentelemetry.javaagent.bootstrap
A utility to track nested calls in an instrumentation.
classLoaderMatcher() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
An instrumentation module can implement this method to make sure that the class loader contains the particular library version.
ClassLoaderMatcherCacheHolder - Class in io.opentelemetry.javaagent.bootstrap.internal
A holder of all ClassLoaderMatcher caches.
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.
CommonConfig - Class in io.opentelemetry.javaagent.bootstrap.internal
This class is internal and is hence not for public use.
configure(IgnoredTypesBuilder, ConfigProperties) - Method in interface io.opentelemetry.javaagent.extension.ignore.IgnoredTypesConfigurer
Configure the passed builder and define which classes should be ignored when instrumenting.
controllerTelemetryEnabled() - Method in class io.opentelemetry.javaagent.bootstrap.internal.ExperimentalConfig
 
currentContext() - Static method in class io.opentelemetry.javaagent.bootstrap.Java8BytecodeBridge
Calls Context.current().
currentSpan() - Static method in class io.opentelemetry.javaagent.bootstrap.Java8BytecodeBridge
Calls Span.current().

D

decrementAndGet() - Method in class io.opentelemetry.javaagent.bootstrap.CallDepth
Decrement the current call depth and return the current value.
defaultEnabled(ConfigProperties) - 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.
DeprecatedConfigProperties - Class in io.opentelemetry.javaagent.bootstrap.internal
This class is internal and is hence not for public use.

E

ExperimentalConfig - Class in io.opentelemetry.javaagent.bootstrap.internal
This class is internal and is hence not for public use.
ExperimentalConfig(InstrumentationConfig) - Constructor for class io.opentelemetry.javaagent.bootstrap.internal.ExperimentalConfig
 
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.

F

forClass(Class<?>) - Static method in class io.opentelemetry.javaagent.bootstrap.CallDepth
Return the current call depth for a given class (not method; we want to be able to track calls between different methods in a class).

G

get() - Static method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
get() - Static method in class io.opentelemetry.javaagent.bootstrap.internal.ExperimentalConfig
Returns the global agent configuration.
get() - Static method in class io.opentelemetry.javaagent.bootstrap.internal.InClassLoaderMatcher
Returns whether the ClassLoaderMatcher is currently executing.
get() - Static method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Returns the global instrumentation configuration.
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.
getAndIncrement() - Method in class io.opentelemetry.javaagent.bootstrap.CallDepth
Increment the current call depth and return the previous value.
getAndSet(boolean) - Static method in class io.opentelemetry.javaagent.bootstrap.internal.InClassLoaderMatcher
WARNING This should not be used by instrumentation.
getBoolean(InstrumentationConfig, String, String, boolean) - Static method in class io.opentelemetry.javaagent.bootstrap.internal.DeprecatedConfigProperties
 
getBoolean(String, boolean) - Method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Returns a boolean-valued configuration property or defaultValue if a property with name name has not been configured.
getClientRequestHeaders() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
getClientResponseHeaders() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
getDouble(String, double) - Method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Returns a double-valued configuration property or defaultValue if a property with name name has not been configured or when parsing has failed.
getDuration(String, Duration) - Method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Returns a duration-valued configuration property or defaultValue if a property with name name has not been configured or when parsing has failed.
getInt(String, int) - Method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Returns an integer-valued configuration property or defaultValue if a property with name name has not been configured or when parsing has failed.
getList(String, List<String>) - Method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Returns a list-valued configuration property or defaultValue if a property with name name has not been configured.
getLong(String, long) - Method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Returns a long-valued configuration property or defaultValue if a property with name name has not been configured or when parsing has failed.
getMap(String, Map<String, String>) - Method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Returns a map-valued configuration property or defaultValue if a property with name name has not been configured or when parsing has failed.
getMessagingHeaders() - Method in class io.opentelemetry.javaagent.bootstrap.internal.ExperimentalConfig
 
getPeerServiceMapping() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
getServerRequestHeaders() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
getServerResponseHeaders() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
getString(String) - Method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Returns a string-valued configuration property or null if a property with name name has not been configured.
getString(String, String) - Method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Returns a string-valued configuration property or defaultValue if a property with name name has not been configured.

H

hasClassesNamed(String...) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
Matches a class loader 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.
InClassLoaderMatcher - Class in io.opentelemetry.javaagent.bootstrap.internal
This class is internal and is hence not for public use.
InstrumentationConfig - Class in io.opentelemetry.javaagent.bootstrap.internal
Represents the global instrumentation configuration consisting of system properties, environment variables, contents of the agent configuration file and properties defined by the ConfigPropertySource SPI implementations.
InstrumentationConfig() - Constructor for class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
 
InstrumentationModule - Class in io.opentelemetry.javaagent.extension.instrumentation
Instrumentation module groups several connected TypeInstrumentations together, sharing class loader matcher, helper classes, muzzle safety checks, etc.
InstrumentationModule(String, 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.
instrumentationNames() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
Returns all instrumentation names assigned to this module.
internalInitializeConfig(InstrumentationConfig) - Static method in class io.opentelemetry.javaagent.bootstrap.internal.InstrumentationConfig
Sets the instrumentation configuration singleton.
invalidateAllCachesForClassLoader(ClassLoader) - Static method in class io.opentelemetry.javaagent.bootstrap.internal.ClassLoaderMatcherCacheHolder
 
io.opentelemetry.javaagent.bootstrap - package io.opentelemetry.javaagent.bootstrap
 
io.opentelemetry.javaagent.bootstrap.internal - package io.opentelemetry.javaagent.bootstrap.internal
 
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
 
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.
isStatementSanitizationEnabled() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 

J

Java8BytecodeBridge - Class in io.opentelemetry.javaagent.bootstrap
A helper for accessing methods that rely on new Java 8 bytecode features such as calling a static interface methods.

M

messagingReceiveInstrumentationEnabled() - Method in class io.opentelemetry.javaagent.bootstrap.internal.ExperimentalConfig
 
methodIsDeclaredByType(ElementMatcher<? super TypeDescription>) - Static method in class io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers
Matches method's declaring class against a given type matcher.

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.
registerForAllClassLoaders(String) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.HelperResourceBuilder
Registers a resource to be injected into all class loaders in the instrumented application.
registerForAllClassLoaders(String, String) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.HelperResourceBuilder
Registers a resource to be injected into all class loaders in the instrumented application.
registerHelperResources(HelperResourceBuilder) - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
Register resource names to inject into the user's class loader.
rootContext() - Static method in class io.opentelemetry.javaagent.bootstrap.Java8BytecodeBridge
Calls Context.root().

S

set(boolean) - Static method in class io.opentelemetry.javaagent.bootstrap.internal.InClassLoaderMatcher
WARNING This should not be used by instrumentation.
spanFromContext(Context) - Static method in class io.opentelemetry.javaagent.bootstrap.Java8BytecodeBridge
Calls Span.fromContext(Context).

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 (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

viewTelemetryEnabled() - Method in class io.opentelemetry.javaagent.bootstrap.internal.ExperimentalConfig
 
A C D E F G H I J M R S T V 
All Classes and Interfaces|All Packages