Module: Datadog::Contrib::Rails::ActionView
- Includes:
- Patcher
- Defined in:
- lib/ddtrace/contrib/rails/action_view.rb
Overview
Code used to create and handle ‘rails.render_template’ and ‘rails.render_partial’ spans.
Class Method Summary collapse
Methods included from Patcher
Methods included from Patcher::CommonMethods
#do_once, #done?, #without_warnings
Class Method Details
.instrument ⇒ Object
10 11 12 13 14 15 |
# File 'lib/ddtrace/contrib/rails/action_view.rb', line 10 def self.instrument # patch Rails core components do_once(:instrument) do Datadog::RailsRendererPatcher.patch_renderer end end |