Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

Actice and idle connection count for Redis in java

$
0
0

I use Lettuce to connect to Redis in a Springboot environment. I've set up a LettuceConnectionFactory with a GenericObjectPoolConfig config object. In the GenericObjectPoolConfig i've set the maximum total connections, the max idle connections, the min idle connections and the maximum wait for connections.I would like to monitor the connections to redis with micrometer. Is there any way to get the active and idle connection count for redis?

I've fount a similar question: Spring data Redis. How to know number of Active, Idle Connection?. But they are using jedis as a redis client.


Viewing all articles
Browse latest Browse all 2204

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>