Index

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

A

addCache(Cache<ClassLoader, ?>) - 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.
appendHeader(RESPONSE, String, String) - Method in interface io.opentelemetry.javaagent.bootstrap.http.HttpServerResponseMutator
 
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.
AsmApi - Class in io.opentelemetry.javaagent.extension.instrumentation.internal
This class is internal and is hence not for public use.

B

baggageFromContext(Context) - Static method in class io.opentelemetry.javaagent.bootstrap.Java8BytecodeBridge
 

C

CallDepth - Class in io.opentelemetry.javaagent.bootstrap
A utility to track nested calls in an instrumentation.
CLASS_AND_RESOURCE - Enum constant in enum io.opentelemetry.javaagent.extension.instrumentation.internal.injection.InjectionMode
 
CLASS_ONLY - Enum constant in enum io.opentelemetry.javaagent.extension.instrumentation.internal.injection.InjectionMode
 
ClassInjector - Interface in io.opentelemetry.javaagent.extension.instrumentation.internal.injection
This class is internal and is hence not for public use.
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.
ConfiguredResourceAttributesHolder - Class in io.opentelemetry.javaagent.bootstrap.internal
This class is internal and is hence not for public use.
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().
customize(Context, RESPONSE, HttpServerResponseMutator<RESPONSE>) - Method in interface io.opentelemetry.javaagent.bootstrap.http.HttpServerResponseCustomizer
Called for each HTTP server response with its SERVER span context provided.

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.
DelegatingMatcher - Interface in io.opentelemetry.javaagent.extension.matcher.internal
Interface for extracting the matcher that the given matcher delegates to.
DelegatingSuperTypeMatcher - Interface in io.opentelemetry.javaagent.extension.matcher.internal
Marker interface for delegating matchers that match based on the type hierarchy.
DeprecatedConfigProperties - Class in io.opentelemetry.javaagent.bootstrap.internal
This class is internal and is hence not for public use.

E

EnduserConfig - Class in io.opentelemetry.javaagent.bootstrap.internal
Configuration that controls capturing the enduser.* semantic attributes.
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
 
ExperimentalInstrumentationModule - Interface in io.opentelemetry.javaagent.extension.instrumentation.internal
This class is internal and is hence not for public use.
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.
getAttributeValue(String) - Static method in class io.opentelemetry.javaagent.bootstrap.internal.ConfiguredResourceAttributesHolder
 
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
 
getCustomizer() - Static method in class io.opentelemetry.javaagent.bootstrap.http.HttpServerResponseCustomizerHolder
 
getDelegate() - Method in interface io.opentelemetry.javaagent.extension.matcher.internal.DelegatingMatcher
Returns the matcher that the current matcher delegates to.
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.
getEnduserConfig() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
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.
getKnownHttpRequestMethods() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
getList(InstrumentationConfig, String, String) - Static method in class io.opentelemetry.javaagent.bootstrap.internal.DeprecatedConfigProperties
 
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
 
getPeerServiceResolver() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
getResourceAttributes() - Static method in class io.opentelemetry.javaagent.bootstrap.internal.ConfiguredResourceAttributesHolder
 
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
 
HttpServerResponseCustomizer - Interface in io.opentelemetry.javaagent.bootstrap.http
HttpServerResponseCustomizer can be used to execute code after an HTTP server response is created for the purpose of mutating the response in some way, such as appending headers, that may depend on the context of the SERVER span.
HttpServerResponseCustomizerHolder - Class in io.opentelemetry.javaagent.bootstrap.http
Holds the currently active response customizer.
HttpServerResponseMutator<RESPONSE> - Interface in io.opentelemetry.javaagent.bootstrap.http
Provides the ability to mutate an instrumentation library specific response.

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.
indyEnabled() - Method in class io.opentelemetry.javaagent.bootstrap.internal.ExperimentalConfig
 
initialize(Attributes) - Static method in class io.opentelemetry.javaagent.bootstrap.internal.ConfiguredResourceAttributesHolder
 
inject(InjectionMode) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.internal.injection.ProxyInjectionBuilder
 
injectClasses(ClassInjector) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.internal.ExperimentalInstrumentationModule
Only functional for Modules where InstrumentationModule.isIndyModule() returns true.
injectedClassNames() - Method in interface io.opentelemetry.javaagent.extension.instrumentation.internal.ExperimentalInstrumentationModule
Returns a list of helper classes that will be defined in the class loader of the instrumented library.
InjectionMode - Enum in io.opentelemetry.javaagent.extension.instrumentation.internal.injection
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.http - package io.opentelemetry.javaagent.bootstrap.http
 
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.instrumentation.internal - package io.opentelemetry.javaagent.extension.instrumentation.internal
 
io.opentelemetry.javaagent.extension.instrumentation.internal.injection - package io.opentelemetry.javaagent.extension.instrumentation.internal.injection
 
io.opentelemetry.javaagent.extension.matcher - package io.opentelemetry.javaagent.extension.matcher
 
io.opentelemetry.javaagent.extension.matcher.internal - package io.opentelemetry.javaagent.extension.matcher.internal
 
isAnyEnabled() - Method in class io.opentelemetry.javaagent.bootstrap.internal.EnduserConfig
Returns true if capturing of any enduser.* semantic attribute is enabled.
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.
isIdEnabled() - Method in class io.opentelemetry.javaagent.bootstrap.internal.EnduserConfig
Returns true if capturing the enduser.id semantic attribute is enabled.
isIndyModule() - Method in class io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule
Note this is an experimental feature until phase 1 of implementing the invokedynamic based instrumentation mechanism is complete.
isRoleEnabled() - Method in class io.opentelemetry.javaagent.bootstrap.internal.EnduserConfig
Returns true if capturing the enduser.role semantic attribute is enabled.
isScopeEnabled() - Method in class io.opentelemetry.javaagent.bootstrap.internal.EnduserConfig
Returns true if capturing the enduser.scope semantic attribute is enabled.
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.

P

proxyBuilder(String) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.internal.injection.ClassInjector
Same as invoking ClassInjector.proxyBuilder(String, String), but the resulting proxy will have the same name as the proxied class.
proxyBuilder(String, String) - Method in interface io.opentelemetry.javaagent.extension.instrumentation.internal.injection.ClassInjector
Create a builder for a proxy class which will be injected into the instrumented ClassLoader.
ProxyInjectionBuilder - Interface in io.opentelemetry.javaagent.extension.instrumentation.internal.injection
This class is internal and is hence not for public use.

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.
RESOURCE_ONLY - Enum constant in enum io.opentelemetry.javaagent.extension.instrumentation.internal.injection.InjectionMode
 
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.
setCustomizer(HttpServerResponseCustomizer) - Static method in class io.opentelemetry.javaagent.bootstrap.http.HttpServerResponseCustomizerHolder
 
shouldEmitExperimentalHttpClientTelemetry() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
shouldEmitExperimentalHttpServerTelemetry() - Method in class io.opentelemetry.javaagent.bootstrap.internal.CommonConfig
 
shouldInjectClass() - Method in enum io.opentelemetry.javaagent.extension.instrumentation.internal.injection.InjectionMode
 
shouldInjectResource() - Method in enum io.opentelemetry.javaagent.extension.instrumentation.internal.injection.InjectionMode
 
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

valueOf(String) - Static method in enum io.opentelemetry.javaagent.extension.instrumentation.internal.injection.InjectionMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.opentelemetry.javaagent.extension.instrumentation.internal.injection.InjectionMode
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class io.opentelemetry.javaagent.extension.instrumentation.internal.AsmApi
 
viewTelemetryEnabled() - Method in class io.opentelemetry.javaagent.bootstrap.internal.ExperimentalConfig
 
A B C D E F G H I J M P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values