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