Rename misleading advice methods (#8485)
This commit is contained in:
parent
b74d482eea
commit
ee00c7e6ed
|
@ -47,7 +47,7 @@ public class CxfJaxRsInvokerInstrumentation implements TypeInstrumentation {
|
|||
}
|
||||
|
||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||
public static void stopSpan(@Advice.Local("otelScope") Scope scope) {
|
||||
public static void onExit(@Advice.Local("otelScope") Scope scope) {
|
||||
if (scope != null) {
|
||||
scope.close();
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ public class CxfRsHttpListenerInstrumentation implements TypeInstrumentation {
|
|||
}
|
||||
|
||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||
public static void stopSpan(@Advice.Local("otelScope") Scope scope) {
|
||||
public static void onExit(@Advice.Local("otelScope") Scope scope) {
|
||||
if (scope != null) {
|
||||
scope.close();
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ public class CxfServletControllerInstrumentation implements TypeInstrumentation
|
|||
}
|
||||
|
||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||
public static void stopSpan(@Advice.Local("otelScope") Scope scope) {
|
||||
public static void onExit(@Advice.Local("otelScope") Scope scope) {
|
||||
if (scope != null) {
|
||||
scope.close();
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ public class JerseyServletContainerInstrumentation implements TypeInstrumentatio
|
|||
}
|
||||
|
||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||
public static void stopSpan(@Advice.Local("otelScope") Scope scope) {
|
||||
public static void onExit(@Advice.Local("otelScope") Scope scope) {
|
||||
if (scope != null) {
|
||||
scope.close();
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ public class Resteasy30ServletContainerDispatcherInstrumentation implements Type
|
|||
}
|
||||
|
||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||
public static void stopSpan(@Advice.Local("otelScope") Scope scope) {
|
||||
public static void onExit(@Advice.Local("otelScope") Scope scope) {
|
||||
if (scope != null) {
|
||||
scope.close();
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ public class ResteasyResourceLocatorInvokerInstrumentation implements TypeInstru
|
|||
}
|
||||
|
||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||
public static void stopSpan(@Advice.Local("otelScope") Scope scope) {
|
||||
public static void onExit(@Advice.Local("otelScope") Scope scope) {
|
||||
if (scope != null) {
|
||||
scope.close();
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ public class ResteasyServletContainerDispatcherInstrumentation implements TypeIn
|
|||
}
|
||||
|
||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||
public static void stopSpan(@Advice.Local("otelScope") Scope scope) {
|
||||
public static void onExit(@Advice.Local("otelScope") Scope scope) {
|
||||
if (scope != null) {
|
||||
scope.close();
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ public class JerseyServletContainerInstrumentation implements TypeInstrumentatio
|
|||
}
|
||||
|
||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||
public static void stopSpan(@Advice.Local("otelScope") Scope scope) {
|
||||
public static void onExit(@Advice.Local("otelScope") Scope scope) {
|
||||
if (scope != null) {
|
||||
scope.close();
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ public class ResteasyResourceLocatorInvokerInstrumentation implements TypeInstru
|
|||
}
|
||||
|
||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||
public static void stopSpan(@Advice.Local("otelScope") Scope scope) {
|
||||
public static void onExit(@Advice.Local("otelScope") Scope scope) {
|
||||
if (scope != null) {
|
||||
scope.close();
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ public class ResteasyServletContainerDispatcherInstrumentation implements TypeIn
|
|||
}
|
||||
|
||||
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
|
||||
public static void stopSpan(@Advice.Local("otelScope") Scope scope) {
|
||||
public static void onExit(@Advice.Local("otelScope") Scope scope) {
|
||||
if (scope != null) {
|
||||
scope.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue