wu-sheng commented on a change in pull request #6453:
URL: https://github.com/apache/skywalking/pull/6453#discussion_r583486237
##########
File path:
apm-sniffer/apm-sdk-plugin/lettuce-5.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/lettuce/v5/RedisClientConstructorInterceptor.java
##########
@@ -30,6 +33,14 @@ public void onConstruct(EnhancedInstance objInst, Object[]
allArguments) {
RedisURI redisURI = (RedisURI) allArguments[1];
RedisClient redisClient = (RedisClient) objInst;
EnhancedInstance optionsInst = (EnhancedInstance)
redisClient.getOptions();
- optionsInst.setSkyWalkingDynamicField(redisURI.getHost() + ":" +
redisURI.getPort());
+ StringBuilder redisInfoSb = new StringBuilder();
Review comment:
```suggestion
StringBuilder redisPeer = new StringBuilder();
```
You should make the variable more clear.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]