Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Set `DISABLE_NEW_RELIC_GRAPE` at runtime to disable instrumentation. #2
We have many environments in which the newrelic configuration is entirely driven by environment (this is how you do things on Heroku). So we want to be able to disable instrumentation via ENV as well.
I would actually possibly be for removing the
I can't come up with a useful example when I want to be able to disable the configuration at runtime. So maybe it's not a useful feature.
Any ideas how to reload the entire dependency-driven NewRelic configuration in a test so we can actually test enabling/disabling?