Enable New Relic monitoring with Puma
February 27, 2013
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.
NEWRELIC_DISPATCHER=puma
Or, if you use something like Figaro, just add the following to your application.yml, and run the rake figaro:heroku task.
NEWRELIC_DISPATCHER: puma
Paste the followig in your newrelic.yml config file.
dispatcher: 'puma'
There, two easy steps and it’s all better.
See you next time !