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
ghazel-newrelic_rpm-3.4.0.2 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.4.0.1 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.4.0 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.4.0.beta2 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.3.5 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.3.5.beta1 lib/new_relic/agent/instrumentation/authlogic.rb
newrelic_rpm-3.4.0.beta1 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.3.4.8 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.3.4.7 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.3.4.6 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.3.4.5 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.3.4.4 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.3.4.3 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.3.4.1.fork2 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.3.4.1.fork lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.2.0.6 lib/new_relic/agent/instrumentation/authlogic.rb
wd_newrelic_rpm-3.3.4.1 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.2.0.5 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.2.0.4 lib/new_relic/agent/instrumentation/authlogic.rb
dolores_rpm-3.2.0.3 lib/new_relic/agent/instrumentation/authlogic.rb