Reputation: 301
I'm developing my first application for Play! 2.0 framework. It feels really nice, love akka actors but one thing I'm looking for is something where I could hook some performance metrics on. What I'm looking for is Rails notifications like API or something like Twitter's finagle offers (look for curl command used to retrieve stats.txt).
Is there anything baked in in Play! 2.0? or should I start cooking something on my own? If there isn't anything ready - any pointers and tips are welcome!
Upvotes: 5
Views: 2705
Reputation: 5962
There is a statsd play2 plugin: https://github.com/typesafehub/play-plugins/tree/master/statsd Or Codahale's Metrics Play2 plugin: https://github.com/kenshoo/metrics-play
I'm looking at the metrics one to provide JMX data out at the moment although if statsd is an option, you might want to look at that first.
Upvotes: 0
Reputation: 26579
The official way of getting Akka performance metrics is the following: http://typesafe.com/products/console
Upvotes: 2
Reputation: 7769
While I have not used it in a Play! scala app, I've been a big fan of Newrelic for all the performance metrics in production. That said, I do not think it'd be any different with a Play! war. It will give you basic metrics with a free account. For most of my scala apps I use the newrelic annotations to collect metrics around a particular method that I'd want to track in detail - I've seen newrelic give much detailed results with Java than Scala, hence the annotations.
Upvotes: 1