[ https://issues.apache.org/jira/browse/KAFKA-7219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563199#comment-16563199 ]
Ismael Juma commented on KAFKA-7219: ------------------------------------ Thanks for the JIRA. Note that adding metrics requires a KIP (https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals). The main drawback is the additional memory usage of all these new metrics. > Add topic/partition level metrics. > ---------------------------------- > > Key: KAFKA-7219 > URL: https://issues.apache.org/jira/browse/KAFKA-7219 > Project: Kafka > Issue Type: Improvement > Components: metrics > Reporter: Satish Duggana > Assignee: Satish Duggana > Priority: Major > Labels: needs-kip > > Currently, Kafka generates different metrics for topics on a broker. > - MessagesInPerSec > - BytesInPerSec > - BytesOutPerSec > - BytesRejectedPerSec > - ReplicationBytesInPerSec > - ReplicationBytesOutPerSec > - FailedProduceRequestsPerSec > - FailedFetchRequestsPerSec > - TotalProduceRequestsPerSec > - TotalFetchRequestsPerSec > - FetchMessageConversionsPerSec > - ProduceMessageConversionsPerSec > Add metrics for individual partitions instead of having only at topic level. > Some of these partition level metrics are useful for monitoring applications > to monitor individual topic/partitions. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)