You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/28 11:25:22 UTC

[GitHub] [pulsar] codelipenghui opened a new pull request #12225: [Metrics] Add support for splitting topic and partition label in Prometheus

codelipenghui opened a new pull request #12225:
URL: https://github.com/apache/pulsar/pull/12225


   Fix: #11432
   
   Currently, we are only exposing the partition name for the topic label in Prometheus metrics, which is difficult to
   have an aggregated metrics for a partitioned topic.
   
   Before this change, we can only get (topic=xxx-partition-0) in the metrics. After this change, we can get 2 labels (topic=xxx, partition=0).
   By default, the broker exposes the single tag for the topic. It need to change `splitTopicAndPartitionLabelInPrometheus=true` in the broker.conf
   
   New tests added.
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat merged pull request #12225: [Metrics] Add support for splitting topic and partition label in Prometheus

Posted by GitBox <gi...@apache.org>.
merlimat merged pull request #12225:
URL: https://github.com/apache/pulsar/pull/12225


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org