Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

NewRelic

NewRelic is a service to monitor app performance.

  • Add the following gem to your Gemfile:

    group :production do
      gem 'newrelic_rpm'
    end
    
  • Add a NewRelic configuration file config/newrelic.yml folder. (Note: If you are not using Heroku, adjust the app name to something else than HEROKU_APP_NAME)

  • Add the new variables to your Heroku environments and .env:

    NEW_RELIC_LICENSE_KEY: "from newrelic"