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
27 28 29 |
# File 'lib/new_relic/agent/instrumentation/controller_instrumentation.rb', line 27 def self.included(clazz) clazz.extend(ClassMethodsShim) end |
Instance Method Details
#new_relic_trace_controller_action(*args) ⇒ Object
31 |
# File 'lib/new_relic/agent/instrumentation/controller_instrumentation.rb', line 31 def new_relic_trace_controller_action(*args); yield; end |
#newrelic_metric_path ⇒ Object
32 |
# File 'lib/new_relic/agent/instrumentation/controller_instrumentation.rb', line 32 def newrelic_metric_path; end |
#newrelic_notice_error(*args) ⇒ Object
30 |
# File 'lib/new_relic/agent/instrumentation/controller_instrumentation.rb', line 30 def newrelic_notice_error(*args); end |
#perform_action_with_newrelic_trace(*args) ⇒ Object
33 |
# File 'lib/new_relic/agent/instrumentation/controller_instrumentation.rb', line 33 def perform_action_with_newrelic_trace(*args); yield; end |