Class LettuceConnectInstrumentation.ConnectAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.lettuce.v4_0.LettuceConnectInstrumentation.ConnectAdvice
Enclosing class:
LettuceConnectInstrumentation

public static class LettuceConnectInstrumentation.ConnectAdvice extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onEnter(com.lambdaworks.redis.RedisURI redisUri, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope)
     
    static void
    onExit(com.lambdaworks.redis.RedisURI redisUri, Throwable throwable, 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

    • ConnectAdvice

      public ConnectAdvice()
  • Method Details

    • onEnter

      @OnMethodEnter(suppress=java.lang.Throwable.class) public static void onEnter(@Argument(1) com.lambdaworks.redis.RedisURI redisUri, @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(@Argument(1) com.lambdaworks.redis.RedisURI redisUri, @Thrown Throwable throwable, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)