Overview
Alacrity Rails
The alacrity-rails gem collects runtime data from your Ruby on Rails app.
Compatibility
The alacrity-rails gem officially supports Ruby 2.0+.
It will work automatically with Rails 4 and up.
Installation
- Sign up for an account on https://www.alacrityapp.com
- Add the
alacrity-rails
gem to yourGemfile
gem 'alacrity-rails', group: :production
- Set the ALACRITY_API_TOKEN in your app's environment
- Deploy with the gem installed
- You'll begin seeing data on https://alacrityapp.com shortly after your site receives traffic.
Server Configuration Overrides
ALACRITY_API_TOKEN
You can find this on the settings page for your app on https://alacrityapp.com
ALACRITY_ENVIRONMENT
By default Alacrity will use Rails.env
to determine the server environment. You can override this to any string value (like staging
).