eolivelli opened a new pull request #918: ZOOKEEPER-3366: Pluggable metrics 
system for ZooKeeper - move remaining metrics to MetricsProvider
URL: https://github.com/apache/zookeeper/pull/918
 
 
   Migrate all remaining metrics to MetricsProvider.
   We are introducing now Gauges which are callbacks to be called when the 
Provider needs to publish current values.
   As during the lifecycle of a ZK server process we can have several 
ZooKeeperServer instances, depending on the role of the current process, we 
have to clean up unused Gauges, this is different from the old approach in 
which in 4lw and on http admin  API we had hard coded metrics, with multiple 
'instanceof' conditions.

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


With regards,
Apache Git Services

Reply via email to