Add an explicit note about having to enable cache metrics

See gh-23047
This commit is contained in:
Stéphane Nicoll
2025-04-23 11:21:40 +02:00
parent 9263af33e3
commit 167c8caf63

View File

@@ -912,6 +912,9 @@ The following cache libraries are supported:
* Any compliant JCache (JSR-107) implementation
* Redis
WARNING: Metrics should be enabled for the auto-configuration to pick them up.
Refer to the documentation of the cache library you are using for more details.
Metrics are tagged by the name of the cache and by the name of the javadoc:org.springframework.cache.CacheManager[], which is derived from the bean name.
NOTE: Only caches that are configured on startup are bound to the registry.