hangc0276 opened a new pull request #6814:
URL: https://github.com/apache/pulsar/pull/6814


   ### Motivation
   Pulsar use bookkeeper as distributed log storage, and init a bookie client 
to read/write data from/to bookkeeper. However the pulsar bookie client use 
default ` NullStatsLogger.INSTANCE` to expose runtime metric, which doesn't 
expose to prometheus or other state storage. When tuning pulsar bookie client 
performance, we doesn't have any bookie metric to measure where is the 
bottleneck.
   
   ### Changes
   I implement a prometheus state provider, and use it to trace bookie client 
runtime metric, and expose it to prometheus.
   
   Please help take a look, if it's ok, i will add test case and update the 
metric document.


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


Reply via email to