Errbit can track your application deploys if you send a special message to Errbit whenever you deploy.
If you're using heroku, you can add a deploy hook like this:
$ heroku addons:add deployhooks:http \
--url=http://myerrbit.com/deploys.txt
The airbrake gem comes with a nice rake task for sending deploy hooks. Assuming you already have it configured, you can send hooks like this:
$ TO=env-name \
REVISION=rev-string \
REPO=repo-string \
USER=user-string \
rake airbrake:deploy
In your application's Capfile, insert:
require 'airbrake/capistrano3'
This will add a new capistrano task named airbrake:deploy
which ends up
calling rake airbrake:deploy
with the values from your capistrano config.
You may need to set the API_KEY
environment variable on the target
application.
Errbit supports sending a message along with your deploy hook. The airbrake gem doesn't support this, but you can easily send it along yourself. Here's an example using cURL:
$ curl https://myerrbit.com/deploys.txt \
--data "api_key=406e4374bf508ad0d7732c2d35ed380d" \
--data "app_id=cb71ca8429732ba86b90d57c" \
--data "deploy[local_username]=user-string" \
--data "deploy[rails_env]=env-name" \
--data "deploy[scm_repository]=repo-string" \
--data "deploy[scm_revision]=rev-string" \
--data "deploy[message]=my-message"