codahale/metrics — Issue #133: Use Metics to wrap legacy and dynamic MBeans
Author: bcotton
Created: 2011-12-09 16:53:27+00:00
State: open

Not really an issue, but I'm not finding the mailing list :-)

We've staring using metics in a green-field project and like the json output from the servet.

We would like to leverage this package to wrap our legacy "metrics" that are exposed via JMX. We also have a need to expose JMX metrics from projects where the MBeans are not know ahead of time.

I have a working proof of concept that uses JmxGuage as a wrapper around an existing MBean. I receive notifications of new MBeans by registering an MBean listener, then creating Metrics as a response.

I wanted to make sure there was no visceral reaction to this idea before I proceed further.

Thoughts?

- Bob