You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: