Method: OneApm::Agent::Datastore.notice_sql
- Defined in:
- lib/one_apm/agent/datastore.rb
.notice_sql(query, scoped_metric, elapsed) ⇒ Object
59 60 61 62 63 64 |
# File 'lib/one_apm/agent/datastore.rb', line 59 def self.notice_sql(query, scoped_metric, elapsed) agent = OneApm::Manager.agent agent.transaction_sampler.notice_sql(query, nil, elapsed) agent.sql_sampler.notice_sql(query, scoped_metric, nil, elapsed) nil end |