Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Do not explicitly record metrics - trace_execution_scoped will automatically do it #25

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/newrelic_moped/instrumentation.rb
Expand Up @@ -52,7 +52,6 @@ def logging_with_newrelic_trace(operations, &blk)

NewRelic::Agent.instance.transaction_sampler.notice_sql(log_statement, nil, elapsed_time)
NewRelic::Agent.instance.sql_sampler.notice_sql(log_statement, metric, nil, elapsed_time)
NewRelic::Agent.instance.stats_engine.record_metrics(metrics, elapsed_time)
end
end

Expand Down