Sha256: 33408b8075de58ecc857f0e69c7c7401f6af72c275a11d6ad73d314939efb237

Contents?: true

Size: 569 Bytes

Versions: 17

Compression:

Stored size: 569 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

DependencyDetection.defer do
  @name = :authlogic
  
  depends_on do
    defined?(AuthLogic) &&
      defined?(AuthLogic::Session) &&
      defined?(AuthLogic::Session::Base)
  end

  executes do
    ::NewRelic::Agent.logger.info 'Installing AuthLogic instrumentation'
  end  
  
  executes do
    AuthLogic::Session::Base.class_eval do
      add_method_tracer :find, 'Custom/Authlogic/find'
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
newrelic_rpm-3.6.5.130 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.4.122 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.4.113.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.3.111 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.3.106 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.3.105.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.3.104 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.3.103.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.2.96 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.2.90.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.1.88 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.1.87 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.1.86.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.1.85.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.0.83 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.0.78 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.0.74.beta lib/new_relic/agent/instrumentation/authlogic.rb