Getting started with Performance Monitoring

Application Performance Monitoring with Airbrake makes it easy to:

  • See a broad performance overview for your whole application
  • Measure user satisfaction with your app performance using Apdex
  • Identify routes with problematic performance
  • Zoom into specific endpoints to see time spent in the DB, view, cache, external requests, and more

Installation

Performance Monitoring is available to Rails projects and is built into the same notifier you use to report errors from your application. To start sending performance data for your app to Airbrake just install or upgrade the Airbrake gem to the latest version.

Step 1: Install the latest version of the Airbrake gem

Add the Airbrake gem to your Gemfile:

gem 'airbrake', '~> 9.3'

To integrate Airbrake with your Rails application, invoke the following command and replace PROJECT_ID and PROJECT_KEY with your project’s values:

rails g airbrake PROJECT_ID PROJECT_KEY

After you deploy this Airbrake upgrade you will start seeing your applications performance stats in the dashboard.

Upgrading from a previous gem version?

If you are upgrading from a previous version of our gem, please follow our upgrade guide to get started with Performance Monitoring.

Performance Dashboard

View all of your app’s performance stats at a glance. Trend cards highlight key performance metrics across your whole app. The charts show requests, response times, errors, and user satisfaction (Apdex) over time. The routes list exposes performance stats per route, making it easy to pinpoint and resolve issues.

Performance Dashboard

Detailed route performance

Diving deeper into an individual route, you can see the proportion of time spent in the database, cache, views, or making external requests. There are similar trend cards and performance charts to quickly understand the route performance. You can also click through from a route to its linked Airbrake errors.

Route View

Have questions about Performance Monitoring? Check out our Performance Monitoring FAQ for more information.