-
Notifications
You must be signed in to change notification settings - Fork 35
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
Support clustered redis latency metrics #244
Support clustered redis latency metrics #244
Conversation
@kandogu can you describe the PR? What issue are you trying to solve? what feature are you adding? |
...ttuce/src/main/java/io/micronaut/configuration/lettuce/DefaultRedisClusterClientFactory.java
Show resolved
Hide resolved
Latency metrics are not supported in the clustered client of Redis, I was trying to add latency metrics to the clustered client too as the standalone Redis client. @sdelamo |
@sdelamo can you look at it again? |
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.
Looks good overall, except for the lack of tests.
I personally wouldn't introduce an abstract class to inherit this functionality from, because IMO it makes the implementation a bit more complicated than it needs to be. And I don't foresee many classes extending from it; I may be wrong though.
...ttuce/src/main/java/io/micronaut/configuration/lettuce/DefaultRedisClusterClientFactory.java
Outdated
Show resolved
Hide resolved
...ttuce/src/main/java/io/micronaut/configuration/lettuce/DefaultRedisClusterClientFactory.java
Outdated
Show resolved
Hide resolved
...tuce/src/main/java/io/micronaut/configuration/lettuce/AbstractRedisClusterClientFactory.java
Outdated
Show resolved
Hide resolved
...tuce/src/main/java/io/micronaut/configuration/lettuce/AbstractRedisClusterClientFactory.java
Outdated
Show resolved
Hide resolved
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.
We need tests.
No description provided.