Class NavigationRpcHandlerInstrumentation
java.lang.Object
com.vaadin.extension.instrumentation.communication.rpc.NavigationRpcHandlerInstrumentation
- All Implemented Interfaces:
io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
public class NavigationRpcHandlerInstrumentation
extends Object
implements io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
Instruments NavigationRpcHandler in order to add a span when the handler is
called with a navigation message from the client. This can be a router link
navigation, or history navigation (back / forward button). This handler is
only called when using the (deprecated) V14 bootstrap mode.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.bytebuddy.matcher.ElementMatcher<ClassLoader>voidtransform(io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer transformer) net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.type.TypeDescription>
-
Constructor Details
-
NavigationRpcHandlerInstrumentation
public NavigationRpcHandlerInstrumentation()
-
-
Method Details
-
classLoaderOptimization
- Specified by:
classLoaderOptimizationin interfaceio.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
-
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
-