module OpenTelemetry::Instrumentation::ActiveRecord::Patches::PersistenceInsertClassMethods

Module to prepend to ActiveRecord::Base for instrumentating insert/upsert class methods added in Rails 6.0

Public Class Methods

prepended(base) click to toggle source
# File lib/opentelemetry/instrumentation/active_record/patches/persistence_insert_class_methods.rb, line 14
def self.prepended(base)
  class << base
    prepend ClassMethods
  end
end