Module: Oboe::Inst::ConnectionAdapters::LegacyPostgreSQLAdapter
- Includes:
- Utils
- Defined in:
- lib/oboe/frameworks/rails/inst/active_record.rb
Overview
PostgreSQLAdapter
Class Method Summary collapse
Methods included from Utils
#begin_db_transaction_with_oboe, #cfg, #exec_delete_with_oboe, #exec_insert_with_oboe, #exec_query_with_oboe, #execute_with_oboe, #extract_trace_details, #ignore_payload?
Class Method Details
.included(cls) ⇒ Object
123 124 125 126 127 128 129 130 131 |
# File 'lib/oboe/frameworks/rails/inst/active_record.rb', line 123 def self.included(cls) cls.class_eval do if ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::method_defined? :execute alias execute_without_oboe execute alias execute execute_with_oboe else puts "[oboe/loading] Couldn't properly instrument ActiveRecord layer. Partial traces may occur." end end end |