lib/new_relic/agent/agent.rb in newrelic_rpm-3.3.0 vs lib/new_relic/agent/agent.rb in newrelic_rpm-3.3.1.beta1
- old
+ new
@@ -1046,10 +1046,10 @@
def harvest_and_send_slowest_sql
# FIXME add the code to try to resend if our connection is down
sql_traces = @sql_sampler.harvest
unless sql_traces.empty?
- log.debug "Sending (#{sql_traces.count}) sql traces"
+ log.debug "Sending (#{sql_traces.size}) sql traces"
begin
response = invoke_remote :sql_trace_data, sql_traces
# log.debug "Sql trace response: #{response}"
rescue
@sql_sampler.merge sql_traces