Skip to content

Commit 8f9d9fa

Browse files
committed
Clarify which caches are automatically bound to the metrics registry
See gh-19412
1 parent c6dab44 commit 8f9d9fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,8 +1810,8 @@ The following cache libraries are supported:
18101810

18111811
Metrics are tagged by the name of the cache and by the name of the `CacheManager` that is derived from the bean name.
18121812

1813-
NOTE: Only caches that are available on startup are bound to the registry.
1814-
For caches created on-the-fly or programmatically after the startup phase, an explicit registration is required.
1813+
NOTE: Only caches that are configured on startup are bound to the registry.
1814+
For caches not defined in the cache’s configuration, that is caches created on-the-fly or programmatically after the startup phase, an explicit registration is required.
18151815
A `CacheMetricsRegistrar` bean is made available to make that process easier.
18161816

18171817

0 commit comments

Comments
 (0)