Class EndpointRegistryInstrumentation

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

public class EndpointRegistryInstrumentation extends Object implements io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
  • Constructor Details

    • EndpointRegistryInstrumentation

      public EndpointRegistryInstrumentation()
  • 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
    • onExit

      @OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void onExit(@Thrown Throwable throwable, @Local("otelSpan") io.opentelemetry.api.trace.Span span, @Local("otelScope") io.opentelemetry.context.Scope scope)