Sha256: 460b1c7410fb786472c650f631a83bb33f59328adc0884e7f460302564b56015

Contents?: true

Size: 432 Bytes

Versions: 58

Compression:

Stored size: 432 Bytes

Contents

# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2021

module Instana
  module Activators
    class ActionView < Activator
      def can_instrument?
        defined?(::ActionView::PartialRenderer)
      end

      def instrument
        require 'instana/instrumentation/action_view'

        ::ActionView::PartialRenderer
          .prepend(Instana::Instrumentation::ActionView)

        true
      end
    end
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
instana-1.214.3 lib/instana/activators/action_view.rb
instana-1.214.2 lib/instana/activators/action_view.rb
instana-1.214.1 lib/instana/activators/action_view.rb
instana-1.214.0 lib/instana/activators/action_view.rb
instana-1.213.3 lib/instana/activators/action_view.rb
instana-1.213.2 lib/instana/activators/action_view.rb
instana-1.213.1 lib/instana/activators/action_view.rb
instana-1.213.0 lib/instana/activators/action_view.rb
instana-1.212.0 lib/instana/activators/action_view.rb
instana-1.211.0 lib/instana/activators/action_view.rb
instana-1.210.1 lib/instana/activators/action_view.rb
instana-1.210.0 lib/instana/activators/action_view.rb
instana-1.209.8 lib/instana/activators/action_view.rb
instana-1.209.7 lib/instana/activators/action_view.rb
instana-1.209.6 lib/instana/activators/action_view.rb
instana-1.209.5 lib/instana/activators/action_view.rb
instana-1.209.4 lib/instana/activators/action_view.rb
instana-1.209.3 lib/instana/activators/action_view.rb
instana-1.209.2 lib/instana/activators/action_view.rb
instana-1.209.1 lib/instana/activators/action_view.rb