Installation instructions for Heroku buildpack
This buildpack installs the Raygun APM agent on your dyno, and starts it after every deploy. To collect data from a Node application, you also need to install the raygun-apm package as described in our installation instructions.
Navigate to the directory of your project:
cd <YOUR NODE.JS PROJECT>
Initialize a new Heroku project:
Add the Raygun APM buildpack:
heroku buildpacks:add https://github.com/MindscapeHQ/heroku-buildpack-raygun-apm
Add the Node.js buildpack:
heroku buildpacks:add heroku/nodejs
Add your APM API key to your application configuration:
heroku config:add RAYGUN_API_KEY=<YOUR RAYGUN API KEY>
Commit the changes: e.g.
git commit -am "added heroku set up"
Deploy to Heroku:
git push heroku master
Once installed, the APM agent is started automatically when each dyno starts.
Having trouble receiving traces? Please look at our Heroku troubleshooting guide.