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.
  • Constructor Details

    • NavigationRpcHandlerInstrumentation

      public NavigationRpcHandlerInstrumentation()
  • Method Details

    • classLoaderOptimization

      public net.bytebuddy.matcher.ElementMatcher<ClassLoader> classLoaderOptimization()
      Specified by:
      classLoaderOptimization in interface io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
    • typeMatcher

      public net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.type.TypeDescription> typeMatcher()
      Specified by:
      typeMatcher in interface io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
    • transform

      public void transform(io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer transformer)
      Specified by:
      transform in interface io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation