Sha256: 0d21838419f53b359c4469ce5f3063a78497a28195e049f8c6962523b4c4b78b

Contents?: true

Size: 409 Bytes

Versions: 61

Compression:

Stored size: 409 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.debug '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

61 entries across 61 versions & 4 rubygems

Version Path
newrelic_rpm-3.5.4.35.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.4.34 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.4.33 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.4.31.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.4.29.beta lib/new_relic/agent/instrumentation/authlogic.rb
ghazel-newrelic_rpm-3.5.4 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.3.25 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.3.24 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.2.17 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.1.14 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.1.14.beta lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.1.beta1 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.0.1 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.1.alpha lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.5.0 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.4.2.1 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.4.2 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.4.2.beta1 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.4.1 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.4.1.beta1 lib/new_relic/agent/instrumentation/authlogic.rb