[
https://issues.apache.org/jira/browse/KAFKA-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247662#comment-15247662
]
Michael Coon commented on KAFKA-3564:
-------------------------------------
Hmm, Sum wasn't available when I did a clone on the codebase. I'll have to
update and see if that fits the bill. So what does count represent in metric
terms then? If it were a kind of "instance" snapshot type of count--like "how
many of X are in memory right now", cool; but there is no way to decrement the
count so not sure how valuable it would be. Anyway, I'll check the sum metric
out. Thanks!
> 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)