Skip to content

Commit 9f1512d

Browse files
committed
feature: support for tracking in Lettuce versions 6.5+
1 parent f2337bf commit 9f1512d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apm-sniffer/apm-sdk-plugin/lettuce-plugins/lettuce-common/src/main/java/org/apache/skywalking/apm/plugin/lettuce/common/RedisChannelWriterInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public void beforeMethod(EnhancedInstance objInst, Method method, Object[] allAr
9696
}
9797

9898
private String getArgsKey(RedisCommand<?, ?, ?> redisCommand) {
99-
if (AUTH.equalsIgnoreCase(redisCommand.getType().name())) {
99+
if (AUTH.equalsIgnoreCase(getCommandName(redisCommand.getType()))) {
100100
return PASSWORD_MASK;
101101
}
102102
CommandArgs<?, ?> args = redisCommand.getArgs();

0 commit comments

Comments
 (0)