Add metrics (counter + latency) for ZK reconnect attempts
Open
type/feature
- Dominant language
- Java
- Stars
- 2k
- Forks
- 976
- Avg merge
- 6d 15h
- Merged PRs (30d)
- 7
Description
**FEATURE REQUEST**
1. Please describe the feature you are requesting.
Metrics for ZK reconnects to be able monitor that and alert on frequent reconnect
2. 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.
4. Provide any additional detail on your proposed use case for this feature.
org.apache.bookkeeper.zookeeper.ZooKeeperClient (clientCreator) should track these metrics
Contributor guide
Assessment
This issue has not been assessed yet.