Module: NewRelic::Agent::Instrumentation::ActiveRecordPrepend::BaseExtensions516

Defined in:
lib/new_relic/agent/instrumentation/active_record_prepend.rb

Instance Method Summary collapse

Instance Method Details

#touch(*args, **kwargs, &blk) ⇒ Object



56
57
58
59
60
# File 'lib/new_relic/agent/instrumentation/active_record_prepend.rb', line 56

def touch(*args, **kwargs, &blk)
  ::NewRelic::Agent.with_database_metric_name(newrelic_model_collection_name, nil, ACTIVE_RECORD) do
    super
  end
end