mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-12 04:39:13 +00:00
Clarify which caches are automatically bound to the metrics registry
See gh-19412
This commit is contained in:
+2
-2
@@ -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.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user