From 8f9d9fa20edd90ab9832c18297b6311253fa8aec Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 24 Dec 2019 09:40:05 +0100 Subject: [PATCH] Clarify which caches are automatically bound to the metrics registry See gh-19412 --- .../src/main/asciidoc/production-ready-features.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index 261cfe120f6..048b603a3f1 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -1810,8 +1810,8 @@ The following cache libraries are supported: Metrics are tagged by the name of the cache and by the name of the `CacheManager` that is derived from the bean name. -NOTE: Only caches that are available on startup are bound to the registry. -For caches created on-the-fly or programmatically after the startup phase, an explicit registration is required. +NOTE: Only caches that are configured on startup are bound to the registry. +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. A `CacheMetricsRegistrar` bean is made available to make that process easier.