Polish "Align with Micrometer's standardized cache metrics"
Closes gh-11918
This commit is contained in:
@@ -1297,7 +1297,6 @@ content into your application. Rather, pick only the properties that you need.
|
||||
management.metrics.binders.logback.enabled=true # Whether to enable Logback metrics.
|
||||
management.metrics.binders.processor.enabled=true # Whether to enable processor metrics.
|
||||
management.metrics.binders.uptime.enabled=true # Whether to enable uptime metrics.
|
||||
management.metrics.cache.metric-name=cache # Name of the metric for cache usage.
|
||||
management.metrics.cache.instrument=true # Instrument all available caches.
|
||||
management.metrics.export.atlas.batch-size= # Number of measurements per request to use for the backend. If more measurements are found, then multiple requests will be made.
|
||||
management.metrics.export.atlas.config-refresh-frequency= # Frequency for refreshing config settings from the LWC service.
|
||||
|
||||
@@ -1194,10 +1194,9 @@ following information:
|
||||
[[production-ready-metrics-cache]]
|
||||
=== Cache metrics
|
||||
Auto-configuration will enable the instrumentation of all available ``Cache``s on startup
|
||||
with a metric named `cache`. The prefix can be customized by using the
|
||||
`management.metrics.cache.metric-name` property. Cache instrumentation is specific
|
||||
to each cache library, refer to https://micrometer.io/docs[the micrometer documentation]
|
||||
for more details.
|
||||
with metrics prefixed with `cache.`. Cache instrumentation is standardized for a basic set
|
||||
of metrics. Additional, cache-specific metrics are also available. Please refer to
|
||||
https://micrometer.io/docs[the Micrometer documentation] for more details.
|
||||
|
||||
The following cache libraries are supported:
|
||||
|
||||
@@ -1206,8 +1205,8 @@ The following cache libraries are supported:
|
||||
* Hazelcast
|
||||
* Any compliant JCache (JSR-107) implementation
|
||||
|
||||
Metrics will also be tagged by the name of the `CacheManager` computed based on the bean
|
||||
name.
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user