Class NettyChannelPipelineInstrumentation.ChannelPipelineAdd3ArgsAdvice
java.lang.Object
io.opentelemetry.javaagent.instrumentation.netty.v3_8.NettyChannelPipelineInstrumentation.ChannelPipelineAdd3ArgsAdvice
- Enclosing class:
- NettyChannelPipelineInstrumentation
public static class NettyChannelPipelineInstrumentation.ChannelPipelineAdd3ArgsAdvice
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddHandler(org.jboss.netty.channel.ChannelPipeline pipeline, org.jboss.netty.channel.ChannelHandler handler, io.opentelemetry.javaagent.bootstrap.CallDepth callDepth) static voidcheckDepth(org.jboss.netty.channel.ChannelPipeline pipeline, org.jboss.netty.channel.ChannelHandler handler, io.opentelemetry.javaagent.bootstrap.CallDepth callDepth)
-
Constructor Details
-
ChannelPipelineAdd3ArgsAdvice
public ChannelPipelineAdd3ArgsAdvice()
-
-
Method Details
-
checkDepth
@OnMethodEnter public static void checkDepth(@This org.jboss.netty.channel.ChannelPipeline pipeline, @Argument(2) org.jboss.netty.channel.ChannelHandler handler, @Local("otelCallDepth") io.opentelemetry.javaagent.bootstrap.CallDepth callDepth) -
addHandler
@OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void addHandler(@This org.jboss.netty.channel.ChannelPipeline pipeline, @Argument(2) org.jboss.netty.channel.ChannelHandler handler, @Local("otelCallDepth") io.opentelemetry.javaagent.bootstrap.CallDepth callDepth)
-