I've been trying to install New Relic's agent for my Heroku deployed app, I follow all steps included in New Relic's documentation including:
heroku config:set NEW_RELIC_APP_NAME='Your Application Name'
and after that putting gem 'newrelic_rpm' in my Gemfile.
After performing a bundle install and pushing changes with git push heroku master, it seems that changes made in the Gemfile are not actually going to heroku. What can be done about this? if I add the gem via heroku bash run it is again not seen after a dyno reset.
It's easy to think you have to do more than is actually necessary, but the Heroku addon actually takes care of a lot of configuration for you. Don't get lost in the documentation - the whole setup process should only take a minute or two.
Here's a detailed explanation.
To summarise:
heroku addons:create newrelic:wayne(wayneis the free plan, for other plans, see here)gem 'newrelic_rpm'toGemfileandbundle install'Your Application Name'with whatever you want your app to be called in the New Relic dashboard)heroku restart