module NewRelic::Agent::Instrumentation::Lotus

Protected Instance Methods

finish() click to toggle source
Calls superclass method
# File lib/newrelic-lotus/instrument.rb, line 14
def finish
  perform_action_with_newrelic_trace(_trace_options) do
    super
  end
end

Private Instance Methods

_trace_options() click to toggle source
# File lib/newrelic-lotus/instrument.rb, line 22
def _trace_options
  {
    category: :controller,
    path:     "#{request.request_method} #{request.path}",
    request:  request,
    params:   params.to_h
  }
end