Sha256: 7d94c5bcea000f9276d5e88e4c216369654d25d690be726402b135f3572f5cfe

Contents?: true

Size: 410 Bytes

Versions: 19

Compression:

Stored size: 410 Bytes

Contents

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

19 entries across 19 versions & 3 rubygems

Version Path
wd_newrelic_rpm-3.5.8 lib/new_relic/agent/instrumentation/authlogic.rb
sundawg_newrelic_rpm-3.5.8.2 lib/new_relic/agent/instrumentation/authlogic.rb
sundawg_newrelic_rpm-3.5.8.1 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.8.72 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.8.70 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.8.64.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.7.59 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.7.59.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.7.58.beta lib/new_relic/agent/instrumentation/authlogic.rb
wd_newrelic_rpm-3.5.6 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.7.57.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.6.55 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.6.48.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.6.46.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.6.42.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.5.39.beta lib/new_relic/agent/instrumentation/authlogic.rb
wd_newrelic_rpm-3.5.5 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.5.38 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.5.540.dev lib/new_relic/agent/instrumentation/authlogic.rb