Sha256: 5101307a8969818a06ed3cd63850a4fa2ee83e11faad5103de21cb8eb1cc265f

Contents?: true

Size: 456 Bytes

Versions: 41

Compression:

Stored size: 456 Bytes

Contents

require 'ddtrace/contrib/rails/utils'

module Datadog
  module Contrib
    module Rails
      # Code used to create and handle 'rails.render_template' and 'rails.render_partial' spans.
      module ActionView
        include Datadog::Patcher

        def self.instrument
          # patch Rails core components
          do_once(:instrument) do
            Datadog::RailsRendererPatcher.patch_renderer
          end
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
ddtrace-0.26.1 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.26.0 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.25.1 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.25.0 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.24.0 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.23.3 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.23.2 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.23.1 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.23.0 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.22.0 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.21.2 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.21.1 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.21.0 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.20.0 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.19.1 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.19.0 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.18.3 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.18.2 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.18.1 lib/ddtrace/contrib/rails/action_view.rb
ddtrace-0.18.0 lib/ddtrace/contrib/rails/action_view.rb