You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/17 10:37:00 UTC

[jira] [Commented] (KAFKA-9730) add tag "partition" to BrokerTopicMetrics so as to observe the partition metrics on the same broker

    [ https://issues.apache.org/jira/browse/KAFKA-9730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060811#comment-17060811 ] 

ASF GitHub Bot commented on KAFKA-9730:
---------------------------------------

chia7712 commented on pull request #8309: KAFKA-9730 add tag "partition" to BrokerTopicMetrics so as to observeā€¦
URL: https://github.com/apache/kafka/pull/8309
 
 
   ```Partitioner``` enable us to dispatch the data to the specify partition as we wish. However, we can't observe the partition metrics if they are on the same broker. The root cause is that the key of topic metrics doesn't contain "partition" so all partitions on the same broker are merged into single metrics (see attachment).
   
   **before**
   ![trunk](https://user-images.githubusercontent.com/6234750/76848178-30ac7d00-687e-11ea-8d28-6b7eba17c89b.jpg)
   
   **after**
   ![patch](https://user-images.githubusercontent.com/6234750/76848197-3a35e500-687e-11ea-8fa3-ee36a9d59586.jpg)
   
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> add tag "partition" to BrokerTopicMetrics so as to observe the partition metrics on the same broker
> ---------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-9730
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9730
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>         Attachments: patch.jpg, trunk.jpg
>
>
> ```Partitioner``` enable us to dispatch the data to the specify partition as we wish. However, we can't observe the partition metrics if they are on the same broker. The root cause is that the key of topic metrics doesn't contain "partition" so all partitions on the same broker are merged into single metrics (see attachment).



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