hangc0276 opened a new pull request #5605: fix prometheusMetrics export 
contains " bug
URL: https://github.com/apache/pulsar/pull/5605
   when i use Oracle JDK 10.0.2,the broker metrics `jvm_info` will export as 
   # TYPE jvm_info gauge
Corporation"",runtime="Java(TM) SE Runtime Environment"} 1.0
   and then prometheus will failed when parsing `""Oracle Corporation""`
   The Reason is when using `io.prometheus:simpleclient:0.5.0` to collect jvm 
info, it returns jvm vendor with `"Oracle Corporation"`, and in the Pulsar 
source code, it adds `"` in both sides, so it comming with `vendor=""Oracle 
Corporation""`, and prometheus parse failed.

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:

With regards,
Apache Git Services

Reply via email to