Class ComponentPageElementImplInstrumentation.EventAdvice
java.lang.Object
io.opentelemetry.javaagent.instrumentation.tapestry.ComponentPageElementImplInstrumentation.EventAdvice
- Enclosing class:
- ComponentPageElementImplInstrumentation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidonEnter(org.apache.tapestry5.internal.structure.ComponentPageElementImpl componentPageElementImpl, String eventType, TapestryRequest request, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope) static voidonExit(Throwable throwable, TapestryRequest request, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope)
-
Constructor Details
-
EventAdvice
public EventAdvice()
-
-
Method Details
-
onEnter
@OnMethodEnter(suppress=java.lang.Throwable.class) public static void onEnter(@This org.apache.tapestry5.internal.structure.ComponentPageElementImpl componentPageElementImpl, @Argument(0) String eventType, @Local("otelRequest") TapestryRequest request, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope) -
onExit
@OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void onExit(@Thrown Throwable throwable, @Local("otelRequest") TapestryRequest request, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)
-