Just a quick post on how I got the NewRelic Add-on working with my
Sinatra app.
1.) Enable the NewRelic Add-on for your heroku app
2.) Add newrelic_rpm to your gem manifest (version >= 2.10.3)
3.) Add create a  newrelic.yml in your config directory with the
following:

# here are the settings that are common to all environments
common: &default_settings
  license_key: "<%= ENV['NEW_RELIC_LICENSE_KEY'] %>"
  app_name: "<%= ENV['NEW_RELIC_APPNAME'] %>"
  monitor_mode: false
  developer_mode: false
  log_level: info
  apdex_t: 0.5
  capture_params: false
  transaction_tracer:
    enabled: false
  error_collector:
    enabled: false

# Turn on the agent in production for 24x7 monitoring.  NewRelic
# testing shows an average performance impact of < 5 ms per
# transaction, you you can leave this on all the time without
# incurring any user-visible performance degredation.
production:
  <<: *default_settings
  monitor_mode: true

Fairly straight forward, hope this helps.
Luke

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to