[ https://issues.apache.org/jira/browse/KAFKA-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248370#comment-15248370 ]
Guozhang Wang commented on KAFKA-3564: -------------------------------------- Your case fits with Rate, and your can do {{Rate(Count)}} or {{Rate(Total)}} based on your snapshot case. Now I am a bit unclear about the problem you had with this JIRA. Could you explain the metrics you want to collect, and how the existing API lack such support? > 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)