Our medium-sized rails app runs (in production) on three servers. We've just finished a trial period, using New Relic as a gem. During the trial period we tracked all three servers, but to continue with a subscription we only need (and only have the budget) to track app1.
So we need to disable new relic on app2 and app3. In communication with their customer service I'm told this is possible and have been directed to the last entry on this page but I can't quite figure out how this helps me to disable new relic tracking on the other two servers, in particular because there's no newrelic_rpm mentioned in environment.rb - it's a gem, after all, and is therefore only mentioned in the Gemfile.
There is a agent_enabled
boolean option in newrelic.yml which I thought we could set on a per-server basis, but I don't know how to do this. Is there a way to find out which server we're on in rails, similar to the RAILS_ENV variable?