Module: OpenTelemetry::Instrumentation::ActiveRecord::Patches::Querying::ClassMethods
- Defined in:
- lib/opentelemetry/instrumentation/active_record/patches/querying.rb
Overview
Contains ActiveRecord::Querying to be patched
Instance Method Summary collapse
Instance Method Details
#find_by_sql(sql, binds = [], preparable: nil, &block) ⇒ Object
21 22 23 24 25 |
# File 'lib/opentelemetry/instrumentation/active_record/patches/querying.rb', line 21 def find_by_sql(sql, binds = [], preparable: nil, &block) tracer.in_span("#{self}.find_by_sql") do super end end |