Opbeat is joining forces with Elastic – Read our blog post

Release tracking with Capistrano

Release tracking extracts information regarding the current revision of your repository and sends it to Opbeat when you deploy new code with Capistrano.

1. Install Opbeat gem

Install the open source Ruby gem to interface with Opbeat’s servers.

$ gem install opbeat

2. Configure your app

Add a config/initializers/opbeat.rb containing the following snippet:

require "opbeat"

Opbeat.configure do |config|

Make sure to replace <organization-id>, <app-id> and <secret-token> with the appropriate values for your app. You can find them under Keys and tokens in your application’s settings.

3. Update the deployment configuration

Make sure your config/deploy.rb contains the following:

require "opbeat/capistrano"