Module: NewRelic::Agent::Instrumentation::ControllerInstrumentation::Shim
- Defined in:
- lib/new_relic/agent/instrumentation/controller_instrumentation.rb
Overview
:nodoc:
Class Method Summary collapse
Instance Method Summary collapse
- #new_relic_trace_controller_action(*args) ⇒ Object
- #newrelic_metric_path ⇒ Object
- #newrelic_notice_error(*args) ⇒ Object
- #perform_action_with_newrelic_trace(*args) ⇒ Object
Class Method Details
.included(clazz) ⇒ Object
33 34 35 |
# File 'lib/new_relic/agent/instrumentation/controller_instrumentation.rb', line 33 def self.included(clazz) clazz.extend(ClassMethodsShim) end |
Instance Method Details
#new_relic_trace_controller_action(*args) ⇒ Object
37 |
# File 'lib/new_relic/agent/instrumentation/controller_instrumentation.rb', line 37 def new_relic_trace_controller_action(*args); yield; end |
#newrelic_metric_path ⇒ Object
38 |
# File 'lib/new_relic/agent/instrumentation/controller_instrumentation.rb', line 38 def newrelic_metric_path; end |
#newrelic_notice_error(*args) ⇒ Object
36 |
# File 'lib/new_relic/agent/instrumentation/controller_instrumentation.rb', line 36 def newrelic_notice_error(*args); end |
#perform_action_with_newrelic_trace(*args) ⇒ Object
39 |
# File 'lib/new_relic/agent/instrumentation/controller_instrumentation.rb', line 39 def perform_action_with_newrelic_trace(*args); yield; end |