Reputation: 13396
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
Upvotes: 0
Views: 660
Reputation: 3542
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.
Upvotes: 2