Closed as not planned
Closed as not planned
Description
I am using multiple cache managers in my application - a RedisCacheManager and a JCacheCacheManager backed by EHCache.
I have found that an incompatibility with meter types registered by RedisCacheMetrics and by micrometer's JCacheMetrics causes a ClassCastException to occur when calling my application's Prometheus scrape endpoint.
It looks like RedisCacheMetrics registers a counter for "cache.removals" whereas JCacheMetrics registers a gauge: