spring-projects / spring-projects/spring-data-redis
There is no way to get Lettuce Redis Connection pool metrics
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
We wanted to get metrics from the Lettuce Redis connection pool. But I don't see any meter binder for redis connection pools unlike JDBC Datasource. Is there any other way we can get the metrics from the Redis Connection pools?
In case of enabling the JMX, there is no way to set the JMX base name and prefixes on the commons-pool2. Can anyone help on this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how Lettuce Redis connection pools are created and whether Spring Data Redis exposes any pool metrics or Micrometer binder. Compare the available commons-pool2 JMX configuration with the requested base name and prefixes. Done should mean a supported, clearly documented way to obtain connection-pool metrics, or a documented explanation of the limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis, spring
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100