Skip to content
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

Merged
merged 6 commits into from
Dec 11, 2019
Merged

Add support for jedis 3.0+ #1129

merged 6 commits into from
Dec 11, 2019

Conversation

devinsba
Copy link
Contributor

@devinsba devinsba commented Dec 5, 2019

Fixes #1114

@devinsba devinsba requested a review from a team as a code owner December 5, 2019 21:04
isMethod()
.and(isPublic())
.and(named("sendCommand"))
.and(takesArgument(1, named("redis.clients.jedis.commands.ProtocolCommand"))),
Copy link
Contributor Author

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

Comment on lines +10 to +11
private static final String SERVICE_NAME = "redis";
private static final String COMPONENT_NAME = SERVICE_NAME + "-command";
Copy link
Contributor Author

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

@devinsba
Copy link
Contributor Author

devinsba commented Dec 6, 2019

Failing tests were: springdata.Elasticsearch53SpringRepositoryTest > test CRUD[0] x 2, and RabbitMQTest > test rabbit consume error[0]

Copy link
Contributor

@randomanderson randomanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@randomanderson randomanderson added this to the 0.39.0 milestone Dec 10, 2019
@devinsba devinsba merged commit cf3f04f into master Dec 11, 2019
@devinsba devinsba deleted the brian.devinssuresh/jedis-3.0 branch December 11, 2019 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cannot instrument redis 3.0+
2 participants