Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add implementation of Caffeine's StatsCounter #2163

Merged

Conversation

john-karp
Copy link
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
Copy link
Contributor Author

Fixed the checkstyle issue.

@pivotal-issuemaster
Copy link

@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