I want to disable New Relic on the /admin namespace, so I'll have reports only from the user part of the app?
I'm using it on Rails with gem and heroku config
I want to disable New Relic on the /admin namespace, so I'll have reports only from the user part of the app?
I'm using it on Rails with gem and heroku config
You can block New Relic from instrumenting Rails controllers by calling newrelic_ignore
in the controller class. You can also block individual actions by passing :only
and :except
options, like with Rails filters.
See the Ruby agent documentation on blocking instrumentation for details.