lib/scout_rails/store.rb in scout_rails-0.0.5.debug.pre vs lib/scout_rails/store.rb in scout_rails-0.0.5.debug1.pre
- old
+ new
@@ -66,9 +66,11 @@
stat.update!(duration,duration-item.children_time)
transaction_hash[meta] = stat
if stack_empty
+ ScoutRails::Agent.instance.logger.debug "Stop Recording: #{meta.metric_name}"
+
aggs=aggregate_calls(transaction_hash.dup,meta)
store_sample(options[:uri],transaction_hash.dup.merge(aggs),meta,stat)
# deep duplicate
duplicate = aggs.dup
duplicate.each_pair do |k,v|
\ No newline at end of file