Module: NewRelic::Agent::Instrumentation::Sinatra::Prepend

Includes:
Tracer
Defined in:
lib/new_relic/agent/instrumentation/sinatra/prepend.rb

Constant Summary

Constants included from Tracer

Tracer::INSTRUMENTATION_NAME

Constants included from ControllerInstrumentation

ControllerInstrumentation::NR_DEFAULT_OPTIONS, ControllerInstrumentation::NR_DO_NOT_TRACE_KEY, ControllerInstrumentation::NR_IGNORE_APDEX_KEY, ControllerInstrumentation::NR_IGNORE_ENDUSER_KEY

Instance Method Summary collapse

Methods included from Tracer

#build_with_tracing, #dispatch_with_tracing, #do_not_trace?, #get_request_params, #ignore_apdex?, #ignore_enduser?, included, #install_lock, #newrelic_middlewares, #newrelic_request_headers, #process_route_with_tracing, #route_eval_with_tracing, #try_to_use

Methods included from ControllerInstrumentation

included, #perform_action_with_newrelic_trace

Methods included from ControllerInstrumentation::ClassMethods

#add_transaction_tracer, #already_added_transaction_tracer?, #build_method_names, #generate_argument_list, #newrelic_ignore, #newrelic_ignore_apdex, #newrelic_ignore_aspect, #newrelic_ignore_enduser, #newrelic_read_attr, #newrelic_write_attr, #parse_punctuation

Instance Method Details

#dispatch!Object



10
11
12
# File 'lib/new_relic/agent/instrumentation/sinatra/prepend.rb', line 10

def dispatch!
  dispatch_with_tracing { super }
end

#process_route(*args, &block) ⇒ Object



14
15
16
# File 'lib/new_relic/agent/instrumentation/sinatra/prepend.rb', line 14

def process_route(*args, &block)
  process_route_with_tracing(*args) { super }
end

#route_eval(*args, &block) ⇒ Object



18
19
20
# File 'lib/new_relic/agent/instrumentation/sinatra/prepend.rb', line 18

def route_eval(*args, &block)
  route_eval_with_tracing(*args) { super }
end