Github user srdo commented on the issue:

    https://github.com/apache/storm/pull/2714
  
    @zd-project I think the Enum idea sounds nice, but I'm not sure whether it 
will be so easy to implement. Some metrics depend on state in the class they're 
declared, e.g. the two gauges in Container. I'm not sure how you could move 
those to an enum without making the fields in Container public.
    
    I'd still like to investigate whether we can make the metrics registries 
non-static. Would you mind if I played around with it a bit?


---

Reply via email to