Sha256: 112e106283018f1ee0a6f4001dd471202e347a3162645d76c824ffd9b2ce1b6d

Contents?: true

Size: 862 Bytes

Versions: 2

Compression:

Stored size: 862 Bytes

Contents

XRay provides a lightweight yet powerful toolbox for troubleshooting Ruby
applications when things stop making sense. Includes GDB and DTrace tooling.

*** GDB ***


  Copy +gdb_macros+ file provided in the gem as your ~/.gdbinit file.

*** Fire DTrace Application Probes ***

  See XRay::DTrace::Tracer

*** Out-of-the-box Rails DTrace Instrumentation ***

  You are one require away from triggering automatically DTrace events for 
  Rails requests, database access and template rendering. As simple as 

     # environment.rb
     Rails::Initializer.run do |config|

       ...

       config.after_initialize do
         require "xray/dtrace/rails/enable_tracing"
       end  
     end
 
  See 
   * lib/xray/dtrace/railsenable_tracing.rb
   * lib/xray/dtrace/action_controller_tracing_extension.rb
   * lib/xray/dtrace/active_record_tracing_extension.rb



Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
XRay-1.0 README
XRay-1.0.1 README