Expose cache metrics for Redis

This commit adds support for Redis cache metrics. Users can opt-in for
statistics using the "spring.cache.redis.enable-statistics" property.

Closes gh-22701
This commit is contained in:
Stephane Nicoll
2020-10-07 17:20:53 +02:00
parent a099cd9420
commit 34c4c3f235
9 changed files with 335 additions and 1 deletions

View File

@@ -2303,6 +2303,7 @@ The following cache libraries are supported:
* EhCache 2
* Hazelcast
* Any compliant JCache (JSR-107) implementation
* Redis
Metrics are tagged by the name of the cache and by the name of the `CacheManager` that is derived from the bean name.