You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Edoardo Comar (Jira)" <ji...@apache.org> on 2023/06/28 16:28:00 UTC

[jira] [Created] (KAFKA-15133) RequestMetrics MessageConversionsTimeMs count is ticked even when no conversion occurs

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)