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.

krakenn
  • 1
  • 2

0 Answers0