Opbeat is joining forces with Elastic – Learn more about Elastic APM

Release tracking on Heroku

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



Follow these simple steps to add release tracking to your Heroku project.

1. Get the webhook URL

You can find the webhook URL on Opbeat in your app settings.

App settings

Note: Make sure the “Deployment method” of your app is set to “Heroku”.

2. Add Opbeat as a deploy hook

$ heroku addons:add deployhooks:http --url=https://opbeat.com/integration/deployment/heroku/<organization-id>/<app-id>/<secret-heroku-token>/

The webhook URL for your app can be found in the app settings on Opbeat.

3. Deploy your application to Heroku

$ git push heroku master

4. GitHub integration (optional)

Opbeat integrates with Git. For Git integration to be useful you need to push to Git as well as Heroku. When you have created a repository for your Heroku app:

$ git remote add origin <ssh url to git repository>
$ git push origin master

More information

If you want to know more about deploy hooks, you can read Heroku’s article on deploy hooks.