Class ResourceInjectionInstrumentation
- java.lang.Object
-
- io.opentelemetry.javaagent.instrumentation.javaclassloader.ResourceInjectionInstrumentation
-
- All Implemented Interfaces:
io.opentelemetry.javaagent.tooling.TypeInstrumentation
public class ResourceInjectionInstrumentation extends Object implements io.opentelemetry.javaagent.tooling.TypeInstrumentation
InstrumentsClassLoaderto have calls to get resources intercepted and check our map of helper resources that is filled by instrumentation when they need helpers.We currently only intercept
ClassLoader.getResources(String)because this is the case we are currently always interested in, where it's used for service loading.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceInjectionInstrumentation.GetResourcesAdvice
-
Constructor Summary
Constructors Constructor Description ResourceInjectionInstrumentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<? extends net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription>,String>transformers()net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.type.TypeDescription>typeMatcher()
-