class OpenTelemetry::Instrumentation::PG::Instrumentation

The Instrumentation class contains logic to detect and install the Pg instrumentation

Constants

MINIMUM_VERSION

Private Instance Methods

patch_client() click to toggle source
# File lib/opentelemetry/instrumentation/pg/instrumentation.rb, line 54
def patch_client
  ::PG::Connection.prepend(Patches::Connection)
end
require_dependencies() click to toggle source
# File lib/opentelemetry/instrumentation/pg/instrumentation.rb, line 50
def require_dependencies
  require_relative 'patches/connection'
end