[ 
https://issues.apache.org/jira/browse/KAFKA-15058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Divij Vaidya updated KAFKA-15058:
---------------------------------
    Component/s: metrics

> Improve the accuracy of Histogram in client metric
> --------------------------------------------------
>
>                 Key: KAFKA-15058
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15058
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients, metrics
>            Reporter: Jun Rao
>            Priority: Major
>
> The Histogram type (org.apache.kafka.common.metrics.stats) in KafkaMetrics in 
> the client module statically divides the value space into a fixed number of 
> buckets and only returns values on the bucket boundary. So, the returned 
> histogram value may never show up in a recorded value. Yammer Histogram, on 
> the other hand, uses reservoir sampling. The reported value is always one of 
> the recorded values, and is likely more accurate. Because of this, the 
> Histogram type in client metric hasn't been used widely. It would be useful 
> to improve Histogram in the client metric to be more accurate. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to