micrometer-metrics/micrometer
GitHub で見るLog a warning when instrumenting a cache that is not recording stats
Open
#5,066 opened on 2024年5月11日
enhancementhelp wantedinstrumentationmodule: micrometer-core
Repository metrics
- Stars
- (4,220 stars)
- PR merge metrics
- (平均マージ 1d 21h) (30d で 100 merged PRs)
説明
Please describe the feature request. It would be nice if a warning were logged (or the user was informed in some way) when a cache is instrumented that is not recording stats.
Rationale For some Cache implementations like Caffeine recording stats is optional. When instrumenting a cache that is not recording stats the meters will constantly report 0 which could be misleading. This is probably not what the user desires.
Additional context
apache/accumulo#4552