We now only use this environment variable for our own test suite. But it is very useful for applications that use this gem as well to quickly run tests in strict mode to find whether they are using the library in a deprecated way.
Updating your project's Gemfile to change the require for the statsd-instrument gem entry is more work. Also you have to be careful to only do it in test mode, and not to accidentally enable it in production.
We now only use this environment variable for our own test suite. But it is very useful for applications that use this gem as well to quickly run tests in strict mode to find whether they are using the library in a deprecated way.
Updating your project's Gemfile to change the
require
for the statsd-instrument gem entry is more work. Also you have to be careful to only do it in test mode, and not to accidentally enable it in production.