You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2018/06/11 09:47:00 UTC
[jira] [Updated] (CAMEL-12473) Use Counter in Caffeine's dropwizard
metrics
[ https://issues.apache.org/jira/browse/CAMEL-12473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino updated CAMEL-12473:
-------------------------------------
Fix Version/s: 2.22.0
> Use Counter in Caffeine's dropwizard metrics
> --------------------------------------------
>
> Key: CAMEL-12473
> URL: https://issues.apache.org/jira/browse/CAMEL-12473
> Project: Camel
> Issue Type: Improvement
> Components: camel-caffeine
> Reporter: Roman Leventov
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 2.22.0
>
>
> [https://github.com/apache/camel/blob/5a40fa03ad1aa951457a04227ac00a7f6450676c/components/camel-caffeine/src/test/java/org/apache/camel/component/caffeine/cache/MetricsStatsCounter.java] This code is seemingly copied from the Caffeine's exemplary code, which used to use Meter class from Dropwizard Metrics. Recently it was concluded that Counter is more appropriate: [https://github.com/ben-manes/caffeine/issues/235]
> I'm not sure Counter is better than Meter in Camel as well, but at least it should be considered.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)