Class NettyChannelInstrumentation.ChannelConnectAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.netty.v3_8.NettyChannelInstrumentation.ChannelConnectAdvice
Enclosing class:
NettyChannelInstrumentation

public static class NettyChannelInstrumentation.ChannelConnectAdvice extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onEnter(org.jboss.netty.channel.Channel channel, SocketAddress remoteAddress, io.opentelemetry.context.Context parentContext, io.opentelemetry.javaagent.instrumentation.netty.common.NettyConnectionRequest request, io.opentelemetry.javaagent.instrumentation.netty.common.Timer timer)
     
    static void
    onExit(org.jboss.netty.channel.ChannelFuture channelFuture, Throwable error, io.opentelemetry.context.Context parentContext, io.opentelemetry.javaagent.instrumentation.netty.common.NettyConnectionRequest request, io.opentelemetry.javaagent.instrumentation.netty.common.Timer timer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChannelConnectAdvice

      public ChannelConnectAdvice()
  • Method Details

    • onEnter

      @OnMethodEnter(suppress=java.lang.Throwable.class) public static void onEnter(@This org.jboss.netty.channel.Channel channel, @Argument(0) SocketAddress remoteAddress, @Local("otelParentContext") io.opentelemetry.context.Context parentContext, @Local("otelRequest") io.opentelemetry.javaagent.instrumentation.netty.common.NettyConnectionRequest request, @Local("otelTimer") io.opentelemetry.javaagent.instrumentation.netty.common.Timer timer)
    • onExit

      @OnMethodExit(suppress=java.lang.Throwable.class, onThrowable=java.lang.Throwable.class) public static void onExit(@Return org.jboss.netty.channel.ChannelFuture channelFuture, @Thrown Throwable error, @Local("otelParentContext") io.opentelemetry.context.Context parentContext, @Local("otelRequest") io.opentelemetry.javaagent.instrumentation.netty.common.NettyConnectionRequest request, @Local("otelTimer") io.opentelemetry.javaagent.instrumentation.netty.common.Timer timer)