codahale/metrics — pull request #222 by jasonberanek (2012-04-10 03:18:10+00:00)
Title: Refactor InstrumentedHandler in metrics-jetty to allow metric registries other than the default

Modified InstrumentedHandler to provide a new constructor that accepts a MetricsRegistry, and refactored the default constructor InstrumentedHandler() to call the new constructor with the Metrics.defaultRegistry().

Change removes dependency on Metrics static factory methods, and brings InstrumentedHandler inline with the rest metrics-jetty.