Class DispatcherServletInstrumentation
java.lang.Object
io.opentelemetry.javaagent.instrumentation.spring.webmvc.v6_0.DispatcherServletInstrumentation
- All Implemented Interfaces:
io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
public class DispatcherServletInstrumentation
extends Object
implements io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis advice creates a filter that has reference to the handlerMappings from DispatcherServlet which allows the mappings to be evaluated outside of regular request processing.static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtransform(io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer transformer) net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.type.TypeDescription>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
classLoaderOptimization
-
Constructor Details
-
DispatcherServletInstrumentation
public DispatcherServletInstrumentation()
-
-
Method Details
-
typeMatcher
public net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.type.TypeDescription> typeMatcher()- Specified by:
typeMatcherin interfaceio.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
-
transform
public void transform(io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer transformer) - Specified by:
transformin interfaceio.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
-