codahale/metrics — pull request #284 by fernandezpablo85 (2012-09-07 14:53:37+00:00)
Title: conversions between java and scala metrics

A simpler and more "scala way" of getting the scala wrappers of the Metrics objects:

```scala
import com.yammer.metrics.scala.Converters._
val counter = Metrics.newCounter(classOf[QueueManager], "pending-jobs").asScala
```

Works with all metric objects. It's the roughly equivalent of `JavaConverters` in the `scala.collection` package.