enable_tracing.rb

Path: lib/xray/dtrace/rails/enable_tracing.rb
Last Update: Tue Nov 11 18:16:15 -0800 2008

Require this file to enable out the box DTrace tracing for your Rails application

You typically change your environment.rb to require it after config initialization:

  Rails::Initializer.run do |config|

    ...

    config.after_initialize do
      require "xray/dtrace/rails/enable_tracing"
    end
  end

Required files

xray/dtrace/tracer   xray/dtrace/rails/action_controller_tracing_extension   xray/dtrace/rails/active_record_connection_tracing_extension  

[Validate]