--Provision New Relic add-on from Heroku's dashboard
-- $ heroku addons: create newrelic: wayne
when done from the command line
At this point, Create a New Relic account
and Set various environment variables
are done automatically.
--Click New Relic from the add-on list screen to move to the New Relic site
-- $ heroku addons: open newrelic
when done from the command line
--Click Get Started
--Click Ruby
Set according to the displayed screen
newrelic_rpm
gemconfig
directory (the license key for NEW_RELIC is written directly, so it is better to put it in an environment variable)You should be able to go back to the Heroku add-ons list screen and click on the New Relic add-ons to go to the performance monitoring dashboard-like screen.
--The old document says "Set the app name in the environment variable", but it's OK (because it is written in the configuration file) --I accidentally wrote a gem in the development group and it got stuck for over an hour. .. .. --The New Relic account and email address are set to the email addresses registered on Heroku. Since the password is unknown, I selected Reset Password from the login screen and reset it.
Recommended Posts