Roman Leventov created CAMEL-12473:
--------------------------------------
Summary: Use Counter in Caffeine's dropwizard metrics
Key: CAMEL-12473
URL: https://issues.apache.org/jira/browse/CAMEL-12473
Project: Camel
Issue Type: Improvement
Reporter: Roman Leventov
[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)