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 2022/09/19 09:30:53 UTC

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #17704: [fix][metrics]wrong metrics text generated when label_cluster specified

poorbarcode commented on code in PR #17704:
URL: https://github.com/apache/pulsar/pull/17704#discussion_r974045430


##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/stats/prometheus/PrometheusMetricsGeneratorUtils.java:
##########
@@ -67,14 +68,21 @@ public static void generateSystemMetrics(SimpleTextOutputStream stream, String c
                 stream.write(sample.name);
                 if (!sample.labelNames.contains("cluster")) {

Review Comment:
   That's a good idea. The code has been changed



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