[ https://issues.apache.org/jira/browse/KAFKA-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15815649#comment-15815649 ]
Andrey edited comment on KAFKA-1251 at 1/10/17 5:51 PM: -------------------------------------------------------- Hi, Does anyone knows why "counter" metrics exposed as "rate"? With such aggregation it's not possible to correctly render over different timespans. See implementation in Kibana/Elastic: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-derivative-aggregation.html General idea: 1) expose metrics as counter. 2) render tools take constantly growing number and calculate derivative over requested interval (10s, 1h, 1d, 1w). was (Author: dernasherbrezon): Hi, Does anyone knows why "counter" metrics exposed as "rate"? With such aggregation it's not possible to correctly render over different timespans. See implementation in Kibana/Elastic: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-derivative-aggregation.html General idea: 1) expose metrics as counter. 2) render tools take constantly growing number and calculate derivative over requested interval. > Add metrics to the producer > --------------------------- > > Key: KAFKA-1251 > URL: https://issues.apache.org/jira/browse/KAFKA-1251 > Project: Kafka > Issue Type: Sub-task > Components: producer > Reporter: Jay Kreps > Assignee: Jay Kreps > Attachments: KAFKA-1251.patch, KAFKA-1251.patch, KAFKA-1251.patch, > KAFKA-1251.patch, KAFKA-1251_2014-03-19_10:19:27.patch, > KAFKA-1251_2014-03-19_10:29:05.patch, KAFKA-1251_2014-03-19_17:30:32.patch, > KAFKA-1251_2014-03-25_17:07:39.patch, metrics.png, new-producer-metrics.png > > > Currently there are no metrics. -- This message was sent by Atlassian JIRA (v6.3.4#6332)