Today I wanted to try out Puma on a Heroku project. Works great, but I quickly realized my app wasn’t reporting to New Relic, which is kind of a bummer. Here’s a compilation of what I found to be working with the latest version, 1.6.2 at the time of writing.
1. Add an environment variable.
Or, if you use something like Figaro, just add the following to your application.yml, and run the rake figaro:heroku task.
2. Add it to your New Relic config.
Paste the followig in your newrelic.yml config file.