New Integration: Ruby on Rails — Librato Blog

New Integration: Ruby on Rails


We’re very pleased to announce our new integration for Ruby on Rails applications. It’s now easier than ever to gain performance insight at the application level for Rails applications on Librato.

After signing into your Librato account, getting started is as simple as creating a new Rails integration and adding librato-rails to your Gemfile. Once you’ve deployed, you should begin seeing metrics in your new curated Rails and Rack dashboards.


Applications leveraging the librato-rails gem will report over 30 Rails and Rack metrics covering a variety of performance and health measures, including request latency, SQL queries, cache access, and more.

  • 95th percentile response times to accurately gauge application stability

  • Differentiate request status types at a glance to visualize expected values

  • Monitoring database performance over time by tracking total SQL statements and types

The Rack dashboard provides you with holistic stats for all time spent in Ruby processing. This allows you to see requests handled entirely in middleware, total request time in the Ruby stack, queuing time for your web requests and more.

In addition to the automatically reported stats, librato-rails continues to provide robust support for custom instrumentation. Every application has slightly different needs so this integration makes it easy to start with a powerful set of defaults and grow insight into your production applications as needed.

At Librato we have a long history of deep support for Ruby and Rails, and we use them for a number of services internally. If you are an existing user of librato-rails, make sure to upgrade to version 0.12.0 or greater for full support.

Rails users on Heroku, in addition to our native Heroku turnkey integration, now have access to all of their application and router metrics in one place, side-by-side.

For more information on setup, check out our Knowledge Base article. If you’re interested in contributing to librato-rails, feel free to open a pull request on GitHub.

New to Librato? Sign up for a free, full-featured 30-day trial.