-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for jedis 3.0+ #1129
Conversation
isMethod() | ||
.and(isPublic()) | ||
.and(named("sendCommand")) | ||
.and(takesArgument(1, named("redis.clients.jedis.commands.ProtocolCommand"))), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a copy of the 1.4
instrumentation except that the method argument was changed to an interface that Protocol.Command
implements
private static final String SERVICE_NAME = "redis"; | ||
private static final String COMPONENT_NAME = SERVICE_NAME + "-command"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved these from the other class because they weren't used there but could be used here
Failing tests were: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Fixes #1114