Performance Monitoring for Rails apps
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
Performance Monitoring 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
gem 'airbrake', '~> 9.4'
To integrate Airbrake with your Rails application, invoke the following command
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.
If you run into any issues, we are happy to help. Just let us know what happened at email@example.com.
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 Monitoring for other languages
Django and Flask support
Performance Monitoring for Django and Flask apps is currently in early access and is supported out of the box - no extra setup required. All you have to do is install the latest version of the library. Check out our official GitHub repo for more info:
Performance Dashboard Features
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.
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.
Have questions about Performance Monitoring? Check out our Performance Monitoring FAQ for more information.