You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but when adding Datadog::Monkey.patch_module(:active_record) there is no option to disable this means when running in test or development modes you get a whole bunch of:
E, [2017-06-16T11:28:51.774635 #92936] ERROR -- ddtrace: [ddtrace] (.rvm/gems/ruby-2.3.3/gems/ddtrace-0.7.2/lib/ddtrace/transport.rb:73:in `rescue in post') Failed to open TCP connection to localhost:8126 (Connection refused - connect(2) for "localhost" port 8126)
If it is documented somewhere I haven't been able to find it.
The text was updated successfully, but these errors were encountered:
Found you can just set Datadog.tracer.configure(enabled: ['test','development'].exclude?(ENV['RACK_ENV'])) will first patch documentation to make this clear before closing this.
I am struggling to work out how I can recreate the same:
For a non Rails app when adding something like the Rack Trace Middleware you can do:
UPDATE: this doesn't actually work either ^
but when adding
Datadog::Monkey.patch_module(:active_record)
there is no option to disable this means when running in test or development modes you get a whole bunch of:If it is documented somewhere I haven't been able to find it.
The text was updated successfully, but these errors were encountered: