adoroszlai opened a new pull request #1172: HDDS-1867. Invalid Prometheus 
metric name from JvmMetrics
URL: https://github.com/apache/hadoop/pull/1172
 
 
   ## What changes were proposed in this pull request?
   
   Fix `invalid metric type` error introduced by using JVM Metrics.  Instead of 
adding replacement for space, replace all characters that cannot appear in 
Prometheus metric names with `_`.
   
   https://issues.apache.org/jira/browse/HDDS-1867
   
   ## How was this patch tested?
   
   Verified in `ozoneperf` compose environment that `http://scm:9876/prom` 
endpoint is UP, and no `invalid metric type` error appears in the log.
   
   Added unit test.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to