Github user srdo commented on the issue:
https://github.com/apache/storm/pull/2783
I think it depends a lot on what kind of static method we're talking about.
If the method is internal we can just change it and inject the metric, or even
better make the method not static and inject the metrics or other dependencies
via the constructor. This is sort of what happened with the memory tracking in
Container.
I see your point for publically accessible static methods though. I'm not
sure we can do anything to work around it there.
---