We’re using Spray for some products here at Primal. Spray is a really neat library, but it’s missing the ability to gather runtime metrics, and while you can instrument your app any way you’d like, we want to do things the Spray way.
Along with our upcoming Agent framework, which implements a pretty cool inter-actor protocol, we have other services that will be hosted in Spray. The guys that figure out whether or not people like our features, and the other guys that figure out how well they’re working, want to know what’s happening, and the guys that code it don’t want that stuff interfering too much with the way that they write their code.
In this post we’ll have a look at how we’re integrating the Coda Hale Metrics library with Spray. Eventually we’ll be making a pull request to the Spray project to integrate this thing for real.