You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Mao (Jira)" <ji...@apache.org> on 2021/10/06 15:36:00 UTC

[jira] [Updated] (KAFKA-13354) Topic metrics count request rate inconsistently with other request metrics

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

David Mao updated KAFKA-13354:
------------------------------
    Description: 
The request rate metrics in BrokerTopicMetrics are incremented per partition in a Produce request. If a produce requests has multiple partitions for the same topic in the request, then the request will get counted multiple times.

This is inconsistent with how we count request rate metrics elsewhere.

The same applies to the TotalFetchRequest rate metric

  was:
The request rate metrics in BrokerTopicMetrics are incremented per partition in a Produce request. If a produce requests has multiple partitions for the same topic in the request, then the request will get counted multiple times.

This is inconsistent with how we count request rate metrics elsewhere.

The same applies to the TotalFetchRequest rate


> Topic metrics count request rate inconsistently with other request metrics
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-13354
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13354
>             Project: Kafka
>          Issue Type: Bug
>          Components: core, metrics
>            Reporter: David Mao
>            Priority: Minor
>
> The request rate metrics in BrokerTopicMetrics are incremented per partition in a Produce request. If a produce requests has multiple partitions for the same topic in the request, then the request will get counted multiple times.
> This is inconsistent with how we count request rate metrics elsewhere.
> The same applies to the TotalFetchRequest rate metric



--
This message was sent by Atlassian Jira
(v8.3.4#803005)