Module: OpenTelemetry::Instrumentation::ActiveRecord::Patches::PersistenceInsertClassMethods
- Defined in:
- lib/opentelemetry/instrumentation/active_record/patches/persistence_insert_class_methods.rb
Overview
Module to prepend to ActiveRecord::Base for instrumentating insert/upsert class methods added in Rails 6.0
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/persistence_insert_class_methods.rb', line 13 def self.prepended(base) class << base prepend ClassMethods end end |