Sha256: 3f6d922750064eeaa51e4b66c4876e670255b121d554294494b5bd54d3995d7e

Contents?: true

Size: 595 Bytes

Versions: 84

Compression:

Stored size: 595 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
      class << self
        add_method_tracer :find, 'Custom/Authlogic/find'
      end
    end
  end
end

Version data entries

84 entries across 84 versions & 2 rubygems

Version Path
newrelic_rpm-3.9.5.251 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.9.4.245 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.9.3.241 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.9.2.239 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.9.1.236 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.9.0.229 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.8.1.221 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.8.0.218 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.7.3.204 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.7.3.199 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.7.2.195 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.7.2.192 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.7.2.190.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.7.1.188 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.7.1.182 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.7.1.180 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.7.0.177 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.7.0.174.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.9.171 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.6.8.168 lib/new_relic/agent/instrumentation/authlogic.rb