zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eolivelli <...@git.apache.org>
Subject [GitHub] zookeeper issue #582: ZOOKEEPER-3103 Pluggable metrics system for ZooKeeper ...
Date Mon, 13 Aug 2018 17:42:33 GMT
Github user eolivelli commented on the issue:

    https://github.com/apache/zookeeper/pull/582
  
    @anmolnar you are right.
    
    MetricsContext will be like a namespace, I expect that each component/submodule will have
its own MetricsContext.
    This is useful for two reasons/usecases.
    
    1) each component will work having its own MetricsContext, which is like a local namespace
for metrics
    2) there are cases in which you have multiple instances of each component, for instance
in a zk server maybe you will have the same metrics for every other peer
    
    Maybe it is worth to add some more doc, but when we will have attached the interface to
real code it will be very straightforward.



---

Mime
View raw message