action_controller_tracing_extension.rb

Path: lib/xray/dtrace/rails/action_controller_tracing_extension.rb
Last Update: Tue Nov 11 18:33:42 -0800 2008

Decorate ActionController::Base with request tracing

Methods

Included Modules

XRay::DTrace::Tracer

Public Instance methods

[Source]

    # File lib/xray/dtrace/rails/action_controller_tracing_extension.rb, line 7
 7:   def perform_action_with_tracing
 8:     firing('request', "#{self.class.to_s}##{action_name.to_s}") do
 9:        perform_action_without_tracing
10:     end
11:   end

[Source]

    # File lib/xray/dtrace/rails/action_controller_tracing_extension.rb, line 13
13:   def render_with_tracing(options = nil, extra_options = {}, &block) 
14:     firing('render', options.to_s) do
15:        render_without_tracing options, extra_options
16:     end
17:   end

[Validate]