# File lib/new_relic/agent/datastores.rb, line 149 def self.notice_sql(query, scoped_metric, elapsed) agent = NewRelic::Agent.instance agent.transaction_sampler.notice_sql(query, nil, elapsed) agent.sql_sampler.notice_sql(query, scoped_metric, nil, elapsed) nil end