Module: NewRelic::Agent::Instrumentation::Webmachine::FSM
- Includes:
- ControllerInstrumentation
- Defined in:
- lib/new_relic/webmachine/instrument.rb
Instance Method Summary collapse
Instance Method Details
#run_with_newrelic ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/new_relic/webmachine/instrument.rb', line 13 def run_with_newrelic trace_params = { :category => :controller, :class_name => resource.class.name, :name => request.method, :request => NewRelicRequest.new(request), :params => request.query.merge(request.path_info || {}) } perform_action_with_newrelic_trace(trace_params) do run_without_newrelic end end |