Skip to content

Add implementation of Caffeine's StatsCounter - #2163

Merged
jkschneider merged 3 commits into
micrometer-metrics:masterfrom
john-karp:caffeine-statscounter
Feb 3, 2021
Merged

jkschneider merged 3 commits into
micrometer-metrics:masterfrom
john-karp:caffeine-statscounter

Conversation

@john-karp

Copy link
Copy Markdown
Contributor

Implementing the Caffeine metrics listener interface allows for more detailed metrics than the approach taken by the existing CaffeineCacheMetrics binder, which only has access to the values available through the Cache API.

Context here: ben-manes/caffeine#409 (comment)

@shakuzen shakuzen added the enhancement A general enhancement label Oct 29, 2020
@shakuzen shakuzen modified the milestones: 1.x, 1.7.0 Oct 29, 2020
@john-karp
john-karp force-pushed the caffeine-statscounter branch from 1a598c8 to 124de33 Compare December 31, 2020 18:34
@john-karp

Copy link
Copy Markdown
Contributor Author

Fixed the checkstyle issue.

@pivotal-issuemaster

Copy link
Copy Markdown

@john-karp Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@john-karp
john-karp deleted the caffeine-statscounter branch February 3, 2021 20:24
izeye added a commit to izeye/micrometer that referenced this pull request Feb 5, 2021
Note this commit removes the eviction metric without a removal cause as it seems to be a no-op.

See micrometer-metricsgh-2163
jonatan-ivanov added a commit that referenced this pull request Feb 6, 2021
Polish CaffeineStatsCounter contribution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants