Airbrake now natively supports Pivotal Tracker, but not for Heroku users.
http://help.airbrake.io/kb/integrations/pivotal-tracker-integration
To get it working with Heroku, the integration is a two step process.
- Adding exceptions as "bug" stories in Pivotal Tracker
- Use the instructions below (not those from the link above)
- Getting updates from Pivotal Tracker in your Airbrake errors
- Follow the instructions from the link above.
-
Grab a copy of the source
git clone git://github.com/steveh/airbrake_to_pivotal.git
-
Create a Heroku app
heroku create myapp
-
Your airbrake username is from eg http://acme.airbrakeapp.com/
heroku config:add AIRBRAKE_USERNAME=acme
-
This is your user auth token, not the project auth token, which doesn't work. From eg http://acme.airbrakeapp.com/users/12345/edit
heroku config:add AIRBRAKE_AUTH_TOKEN=3d1040234ed4c1340293c58db80b27b559473c81
-
You can leave the requestor blank, if you like.
heroku config:add AIRBRAKE_REQUESTOR="John Smith"
-
Your project ID is from eg http://acme.airbrakeapp.com/projects/12345/errors
heroku config:add AIRBRAKE_PROJECT_ID=12345
-
Pick a username for Pivotal to use
heroku config:add HTTP_BASIC_USERNAME=pivotal
-
Pick a password for Pivotal to use
heroku config:add HTTP_BASIC_PASSWORD=password
-
Deploy to Heroku
git push heroku master
-
Test you're getting XML back
open http://myapp.heroku.com/
-
Add the integration to Pivotal. From the "Configure Integrations" page, add an "Other" integration.
- Name: Airbrake
- Basic Auth username: What you picked for HTTP_BASIC_USERNAME
- Basic Auth password: What you picked for HTTP_BASIC_PASSWORD
- Base URL: http://acme.airbrakeapp.com/errors/
- Import API URL: http://myapp.heroku.com/
- Active: Yes
-
From the "More" menu of Pivotal Tracker you should see "Airbrake"