maoling opened a new pull request #1528:
URL: https://github.com/apache/zookeeper/pull/1528


   - Apply this patch, we can export ZooKeeper version as prometheus metric. 
For example:
   ```
   leader_unavailable_time_sum 0.0
   # HELP zk_version_info ZooKeeper version info
   # TYPE zk_version_info gauge
   
zk_version_info{version="3.7.0-SNAPSHOT",revision_hash="b761b77a3bf8cd02edaad88a33bafbc8b6c65be4",built_on="2020-11-07
 08:03 UTC",} 1.0
   # HELP ensemble_auth_success ensemble_auth_success
   ```
   
   - more details in the 
[ZOOKEEPER-3982](https://issues.apache.org/jira/browse/ZOOKEEPER-3982)


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