Class JedisConnectionInstrumentation.SendCommandAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.jedis.v3_0.JedisConnectionInstrumentation.SendCommandAdvice
Enclosing class:
JedisConnectionInstrumentation

public static class JedisConnectionInstrumentation.SendCommandAdvice extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onEnter(redis.clients.jedis.Connection connection, redis.clients.jedis.commands.ProtocolCommand command, byte[][] args, JedisRequest request, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope)
     
    static void
    stopSpan(Throwable throwable, JedisRequest request, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope)
     

    Methods inherited from class java.lang.Object

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

    • SendCommandAdvice

      public SendCommandAdvice()
  • Method Details

    • onEnter

      @OnMethodEnter(suppress=java.lang.Throwable.class) public static void onEnter(@This redis.clients.jedis.Connection connection, @Argument(0) redis.clients.jedis.commands.ProtocolCommand command, @Argument(1) byte[][] args, @Local("otelJedisRequest") JedisRequest request, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)
    • stopSpan

      @OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void stopSpan(@Thrown Throwable throwable, @Local("otelJedisRequest") JedisRequest request, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)