Module: OpenTelemetry::Instrumentation::ActiveRecord::Patches::TransactionsClassMethods

Defined in:
lib/opentelemetry/instrumentation/active_record/patches/transactions_class_methods.rb

Overview

Module to prepend to ActiveRecord::Base for instrumentation

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.prepended(base) ⇒ Object



13
14
15
16
17
# File 'lib/opentelemetry/instrumentation/active_record/patches/transactions_class_methods.rb', line 13

def self.prepended(base)
  class << base
    prepend ClassMethods
  end
end