Sha256: 59488a8aa07112e4308252f154856ed48ca2bb9465f0bd98fd550654952c2815

Contents?: true

Size: 450 Bytes

Versions: 39

Compression:

Stored size: 450 Bytes

Contents

# encoding: utf-8

LibraryDetection.defer do
  @name = :authlogic

  depends_on do
    defined?(Authlogic) &&
      defined?(Authlogic::Session) &&
      defined?(Authlogic::Session::Base)
  end

  executes do
    OneApm::Manager.logger.info 'Installing Authlogic instrumentation'
  end

  executes do
    Authlogic::Session::Base.class_eval do
      class << self
        add_method_tracer :find, 'Custom/Authlogic/find'
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
oneapm_rpm-1.2.9.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.8 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.8.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.7 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.7.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.6 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.6.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.5 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.5.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.4 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.4.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.3 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.3.rc2 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.2 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.2.rc lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.1.rc lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.0 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.1.3 lib/one_apm/inst/3rd/authlogic.rb