Skip to content

Commit 167c8ca

Browse files
committed
Add an explicit note about having to enable cache metrics
See gh-23047
1 parent 9263af3 commit 167c8ca

File tree

1 file changed

+3
-0
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator

1 file changed

+3
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/metrics.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,9 @@ The following cache libraries are supported:
912912
* Any compliant JCache (JSR-107) implementation
913913
* Redis
914914

915+
WARNING: Metrics should be enabled for the auto-configuration to pick them up.
916+
Refer to the documentation of the cache library you are using for more details.
917+
915918
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.
916919

917920
NOTE: Only caches that are configured on startup are bound to the registry.

0 commit comments

Comments
 (0)