Module: NewRelic::Agent::Instrumentation::Curb::Multi::Prepend

Includes:
NewRelic::Agent::Instrumentation::Curb::Multi
Defined in:
lib/new_relic/agent/instrumentation/curb/prepend.rb

Constant Summary

Constants included from NewRelic::Agent::Instrumentation::Curb::Multi

INSTRUMENTATION_NAME

Constants included from MethodTracer::ClassMethods::AddMethodTracer

MethodTracer::ClassMethods::AddMethodTracer::ALLOWED_KEYS, MethodTracer::ClassMethods::AddMethodTracer::DEFAULT_SETTINGS

Instance Method Summary collapse

Methods included from NewRelic::Agent::Instrumentation::Curb::Multi

#add_with_tracing, #hook_pending_request, #install_completion_callback, #install_failure_callback, #install_header_callback, #perform_with_tracing, #remove_failure_callback, #remove_instrumentation_callbacks, #wrap_request

Methods included from MethodTracer

extended, included, #trace_execution_scoped, #trace_execution_unscoped

Methods included from MethodTracer::ClassMethods

#add_method_tracer, #remove_method_tracer

Methods included from MethodTracer::ClassMethods::AddMethodTracer

#_nr_clear_traced_methods!, #_nr_default_metric_name, #_nr_derived_class_name, #_nr_traced_method_module, #_nr_validate_method_tracer_options, #method_traced?, #newrelic_method_exists?

Instance Method Details

#add(curl) ⇒ Object



49
50
51
# File 'lib/new_relic/agent/instrumentation/curb/prepend.rb', line 49

def add(curl)
  add_with_tracing(curl) { super }
end

#perform(&blk) ⇒ Object



53
54
55
# File 'lib/new_relic/agent/instrumentation/curb/prepend.rb', line 53

def perform(&blk)
  perform_with_tracing { super }
end