I have a Spring Boot 2 application that has caching with Caffeine
cache manager already implemented. Caching is implemented in a standard way with @Cacheable
, @CacheEvict
, @CachePut
annotations.
I migrated the app for using Redis
to have caching distributed between pods.
The problem now is with metrics. Before migration Caffeine
exposed cache metrics like cache_puts_total
, cache_gets_total
, etc. and now there is nothing. Is there something implemented for metrics in RedisCacheManager
? I can not find anything.