module ScoutApm::Instruments::ActiveRecordInstruments

Contains ActiveRecord instrument, aliasing +ActiveRecord::ConnectionAdapters::AbstractAdapter#log+ calls to trace calls to the database.

log instrument.

log is very close to where AR calls out to the database itself. We have access to the real SQL, and an AR generated “name” for the Query