Module: OpenTelemetry::Instrumentation::ActiveRecord::Patches::PersistenceClassMethods::ClassMethods
- Defined in:
- lib/opentelemetry/instrumentation/active_record/patches/persistence_class_methods.rb
Overview
Contains ActiveRecord::Persistence::ClassMethods to be patched
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
21 22 23 24 25 |
# File 'lib/opentelemetry/instrumentation/active_record/patches/persistence_class_methods.rb', line 21 def create(...) tracer.in_span("#{self}.create") do super end end |
#create! ⇒ Object
27 28 29 30 31 |
# File 'lib/opentelemetry/instrumentation/active_record/patches/persistence_class_methods.rb', line 27 def create!(...) tracer.in_span("#{self}.create!") do super end end |
#delete ⇒ Object
45 46 47 48 49 |
# File 'lib/opentelemetry/instrumentation/active_record/patches/persistence_class_methods.rb', line 45 def delete(...) tracer.in_span("#{self}.delete") do super end end |
#destroy ⇒ Object
39 40 41 42 43 |
# File 'lib/opentelemetry/instrumentation/active_record/patches/persistence_class_methods.rb', line 39 def destroy(...) tracer.in_span("#{self}.destroy") do super end end |
#update ⇒ Object
33 34 35 36 37 |
# File 'lib/opentelemetry/instrumentation/active_record/patches/persistence_class_methods.rb', line 33 def update(...) tracer.in_span("#{self}.update") do super end end |