Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

New Relic RPM Officially Supports Rack and Sinatra – Finally!

By Peter Cooper / February 25, 2010

NewRelic_inline.pngNew Relic's RPM, an application performance monitoring and reporting system, has today announced it has added full support for Sinatra and Rack-based Ruby applications to its traditionally Rails-centric service. It's been possible to hack in support for non-Rails apps into New Relic before, but this move brings them officially into the fold with all of the features only Rails apps used to be able to take advantage of.

New Relic's press release on the news includes a typically "press release sounding" quote from Ryan Tomayko, but as a key contributor to Sinatra and Rails, and as a GitHub employee, it seems worth quoting:

Rack has given Ruby web developers a tremendous amount of freedom to innovate and experiment with new ways of building web applications.

Developers are increasingly turning to Rack and lightweight frameworks like Sinatra for small utility apps or for latching performance critical features onto an existing site. The ability to monitor and profile these applications using New Relic RPM fills a huge visibility gap for us.

So there you go. New Relic have also updated the "agent" that's used to communicate between your apps and their servers and added some Ruby specific features including enhanced visibility in garbage collection, developer mode profiling, "enhanced" JRuby support, and Phusion Passenger queue time capturing (this sounds particularly useful for tweaking your stack).

As always, New Relic RPM is free to use at a "Lite" level and if you're a new user, they'll give you a week of "Gold" level features for free to sweeten the deal. You can keep running at Lite after that though if you don't want to pay. The "Bronze" plan starts at $50 per month (on an annual basis) per host but they also have an "on demand" Amazon EC2 style pricing structure starting from 10 cents per hour.

We've been keeping an eye on New Relic since early 2008 and they seem to have gone from strength to strength over the years. Early on, FiveRuns' RM-Manage was still a better option than RPM (in my opinion) but with FiveRuns going the way of the dodo recently, New Relic have become the main game in town when it comes to Ruby webapp performance monitoring (though Scout are giving them a run for their money in certain areas).


  1. Michael Hartl says:

    Actually, Ryan Tomayko is at GitHub nowadays.

  2. Peter Cooper says:

    You're right - that guy has itchy feet :-)

  3. Mike Malloy says:

    Thanks for the shout out Peter. We continue to improve our ability to monitor and troubleshoot Ruby apps and we have seen a 300% growth in our Ruby customer base in the past year. We have also seen a surge of interest and new customers for our Java agent as well. We have lots of customers who use us for both Ruby and Java at the same time including a bunch who use Solr (a java open source search engine gaining in popularity) tied to their RoR front end app tier. Looking forward to seeing you at RailsConf because the party doesnt start until you get there!
    - Mike at New Relic

  4. Geoffrey Grosenbach says:

    Correction: The creator of Sinatra is Blake Mizerany. Ryan Tomayko is a committer.

    I've been using the new gem on my Sinatra blog and it works as advertised. It's nice to see a breakdown of performance for each URL handler in the app, as well as errors.

  5. Peter Cooper says:

    You're right, and I knew that really but it seems my brain went on thought strike for this post.. argh! Thanks! :-)

  6. Peter Cooper says:

    xyz test..

Other Posts to Enjoy

Twitter Mentions