HackerRookie opened a new issue #4941:
URL: https://github.com/apache/skywalking/issues/4941
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [* ] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Question
- What do you want to know?
___
### Bug
- Which version of SkyWalking, OS and JRE?
1 .mysql 5.x plug: Multi-data source (same host:port) gets db.instance data
error
2. ConnectionCreate5xInterceptor
@Override
public Object afterMethod(Class clazz, Method method, Object[]
allArguments, Class<?>[] parameterTypes,
Object ret) {
if (ret instanceof EnhancedInstance) {
ConnectionInfo connectionInfo =
ConnectionCache.get(allArguments[0].toString(), allArguments[1].toString());
if (connectionInfo == null) {
connectionInfo =
URLParser.parser(allArguments[4].toString());
}
((EnhancedInstance)
ret).setSkyWalkingDynamicField(connectionInfo);
}
return ret;
}
- Which company or project?
- What happen?
If possible, provide a way for reproducing the error. e.g. demo application,
component version.
___
### Requirement or improvement
- Please describe about your requirements or improvement suggestions.
----------------------------------------------------------------
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]