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/08/10 11:55:51 UTC

[GitHub] [pulsar] leizhiyuan commented on issue #11626: metrics label with a redundant comma at the last

leizhiyuan commented on issue #11626:
URL: https://github.com/apache/pulsar/issues/11626#issuecomment-895966458


   org.apache.pulsar.functions.worker.WorkerStatsManager#writeMetric
   
   ```
   for (int i = 0; i < metricsLabelNames.length; i++) {
         stream.write(metricsLabelNames[i]);
         stream.write('=');
         stream.write('\"');
         stream.write(metricsLabels[i]);
         stream.write("\",");
       }
   ```
   
   write a comma in the last line.


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