Edoardo Comar created KAFKA-15133:
-------------------------------------

             Summary: RequestMetrics MessageConversionsTimeMs count is ticked 
even when no conversion occurs
                 Key: KAFKA-15133
                 URL: https://issues.apache.org/jira/browse/KAFKA-15133
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 3.4.1, 3.5.0
            Reporter: Edoardo Comar
            Assignee: Edoardo Comar


The Histogram 
{{{{{}{color:#000000}RequestChannel{color}.{}}}messageConversionsTimeHist}}
is ticked even when a Produce/Fetch request incurred no conversion,
because a new entry is added to the historgram distribution, with a 0ms value.
 
It's confusing comparing the Histogram
kafka.network RequestMetrics MessageConversionsTimeMs
with the Meter
kafka.server BrokerTopicMetrics ProduceMessageConversionsPerSec
because for the latter, the metric is ticked only if a conversion actually 
occurred



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

Reply via email to