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.4.2 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.4.1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.4.0 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.7 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.7.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.6 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.6.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.5 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.5.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.4 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.4.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.3 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.3.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.2 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.2.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.1.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.0 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.3.0.rc1 lib/one_apm/inst/3rd/authlogic.rb
oneapm_rpm-1.2.9 lib/one_apm/inst/3rd/authlogic.rb