Performance Monitoring for Rails applications
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
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
Step 2: Update your config file
config/initializers/airbrake.rb file to make sure the
performance_stats options is set to
Airbrake.configure do |c| c.performance_stats = true end
Great job! If you’ve used this example in your app, you can visit your Airbrake project’s Performance Dashboard to see your performance data! Soon enough you’ll have more insights into your application’s performance. In the meantime why not check out the Performance Dashboard features. Have questions about Performance Monitoring? Check out our Performance Monitoring FAQ for more information.
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.