Skip to content

Commit

Permalink
Merge pull request #701 from jjtyro/fix-agent-to-support-mysqldatasource
Browse files Browse the repository at this point in the history
[Agent-Plugin] Add support to MysqlDataSource
  • Loading branch information
wu-sheng committed Dec 25, 2017
2 parents 6b288b3 + 35610fa commit 720f404
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
public class DriverInstrumentation extends AbstractDriverInstrumentation {
@Override
protected ClassMatch enhanceClass() {
return byMultiClassMatch("com.mysql.jdbc.Driver", "com.mysql.cj.jdbc.Driver");
return byMultiClassMatch("com.mysql.jdbc.Driver", "com.mysql.cj.jdbc.Driver", "com.mysql.jdbc.NonRegisteringDriver");
}
}

0 comments on commit 720f404

Please sign in to comment.