pg-yang commented on code in PR #438:
URL: https://github.com/apache/skywalking-java/pull/438#discussion_r1065718403


##########
apm-sniffer/apm-sdk-plugin/redisson-3.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/redisson/v3/RedisConnectionMethodInterceptor.java:
##########
@@ -60,6 +63,8 @@ public void beforeMethod(EnhancedInstance objInst, Method 
method, Object[] allAr
 
         StringBuilder dbStatement = new StringBuilder();
         String operationName = "Redisson/";
+        String methodName = "";
+        Object[] arguments = new Object[0];
 
         if (allArguments[0] instanceof CommandsData) {
             operationName = operationName + "BATCH_EXECUTE";

Review Comment:
   How about we set the command(methodName) to `BATCH_EXECUTE ` as a special 
command here, it will be consistent with operationName



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to