Sha256: 519b8ef8014f9ae5757219ceac6837c1483288819076fa844e3a28a8f7f3dce8

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

require 'new_relic/agent/method_tracer'

DependencyDetection.defer do
  depends_on do
    defined?(::Vertica)
  end

  executes do
    ::Vertica::Connection.class_eval do
      add_method_tracer :query, 'Database/Vertica/query'
      add_method_tracer :copy, 'Database/Vertica/copy'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
newrelic-vertica-0.0.1 lib/newrelic-vertica/vertica.rb