lifepuzzlefun opened a new pull request, #4104:
URL: https://github.com/apache/bookkeeper/pull/4104

   ### Motivation
   Current LedgerHandle stats NUM_PENDING_ADD only record the first 
LedgerHandle create by bookkeeper instance.
   if we need record all LedgerHandle at bookkeeper instance level the goal 
fail.
   
   ### Changes
   1. Record all LedgerHandle instance in static field.
   2. register NUM_PENDING_ADD gauge by sum all ledgerHandle pendingAppOp queue 
size.
   3. remove LedgerHandle from static field when handle is closed.
   4. add new metric NUM_OPEN_LEDGER_HANDLE to expose all open LedgerHandle 
numbers by this bookkeeper client.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to