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

  1. Sign up for an account on https://www.alacrityapp.com
  2. Add the alacrity-rails gem to your Gemfile
   gem 'alacrity-rails', group: :production
  1. Set the ALACRITY_API_TOKEN in your app's environment
  2. Deploy with the gem installed
  3. 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).