bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

Add metrics (counter + latency) for ZK reconnect attempts

Open dlg99 opened this issue 3 years ago • 0 comments

FEATURE REQUEST

  1. Please describe the feature you are requesting.

Metrics for ZK reconnects to be able monitor that and alert on frequent reconnect

  1. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have).

    MEDIUM (most of the reconnects handled by the Zk client itself)

there are log message for start/success/error on reconnect but monitoring on logs is not convenient.

  1. Provide any additional detail on your proposed use case for this feature.

org.apache.bookkeeper.zookeeper.ZooKeeperClient (clientCreator) should track these metrics

dlg99 avatar May 19 '22 18:05 dlg99