Class AbstractNavigationStateRendererInstrumentation

java.lang.Object
com.vaadin.extension.instrumentation.AbstractNavigationStateRendererInstrumentation
All Implemented Interfaces:
io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation

public class AbstractNavigationStateRendererInstrumentation extends Object implements io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
This instrumentation captures all navigation operations, and updates the root span to contain the new route, rather than the route where the request initiated from. Also adds a nested span with more information about the navigation operation.
  • Constructor Details

    • AbstractNavigationStateRendererInstrumentation

      public AbstractNavigationStateRendererInstrumentation()
  • Method Details

    • 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