Skip to content

Instantly share code, notes, and snippets.

@catm705
Last active August 29, 2015 14:02
Show Gist options
  • Save catm705/84693870b3f7cd472776 to your computer and use it in GitHub Desktop.
Save catm705/84693870b3f7cd472776 to your computer and use it in GitHub Desktop.
NEW RELIC
1. Go to herokuapp dashboard
2. Go to your app --> then 'settings'
3. Click on 'Get add ons' --> Then find 'New Relic' and click to read the docs
4. Then from within your app in the terminal type: heroku addons:add newrelic:stark
5. Go back to your app on heroku and click on the "New Relic" icon.
6. Then in the page that opens up click on 'I agree'
7. Add this gem to your gemfile --> gem 'newrelic_rpm' in production - like so:
group :production do
gem 'newrelic_rpm'
gem 'rails_12factor'
end
8. bundle install
9. Generate the new license key --> then Download the newrelic.yml file --> and place it in the config directory.
Go into the file and change the app name --> to whatever your app name is.
10. Then click on 'Connect to my application' --> 'Agree' to their terms.
11. After 5 minutes - when you go back to your app's dashboard and again click on 'new relic' --> 'agree to terms again'
12. Click on 'settings' --> 'availability monitoring' --> Type in your url --> click 'Start pinging'
13. If you want to save a substring you can - otherwise 'save updates' and you're ready to go.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment