[ https://issues.apache.org/jira/browse/KAFKA-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248356#comment-15248356 ]
Michael Coon commented on KAFKA-3564: ------------------------------------- Yeah, I saw that as well. However, total never resets its value. What I'm trying to accomplish is to get a events/sec kind of measurement. So I wrap Count in Rate (new Rate(new Count())) to give me that information. And since rate periodically resets the sampled value of count, it gives the proper count (with my locally-modified update method of Count). Total, however, is not a sampled value and never resets...it would just keep increasing forever. > Count metric always increments by 1.0 > ------------------------------------- > > Key: KAFKA-3564 > URL: https://issues.apache.org/jira/browse/KAFKA-3564 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.10.1.0 > Reporter: Michael Coon > Assignee: Kim Christensen > > The Count metric's update method always increments its value by 1.0 instead > of the value passed to it. If this is by design, it's misleading as I want to > be able to count based on values I send to the record method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)