FR | EN

book a call

estimate project

The belighted Blog

Enable New Relic monitoring with Puma

by Kévin V., on 27 February 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.

1. Add an environment variable.

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

2. Add it to your New Relic config.

Paste the followig in your newrelic.yml config file.

dispatcher: 'puma'

There, two easy steps and it’s all better.

See you next time !

Topics:      Under the hood

What is SaaS?

Everything You Need to Know About Moving to a SaaS Model.

Get the guide now >

Subscribe to Updates