Permalink
Browse files

Remove puts

  • Loading branch information...
bkayser committed Jun 16, 2010
1 parent 331877c commit f709e05d2b600978e2b9fbc6ef349e05c9334965
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/new_relic/agent/agent.rb
@@ -69,8 +69,13 @@ def record_transaction(duration_seconds, options={})
raise "metric or uri arguments required" unless metric
metric_info = NewRelic::MetricParser.for_metric_named(metric)
+ puts "recording transaction - reponse_time=#{duration_seconds}"
+ puts "uri=#{options[:uri]}"
+ puts "metric=#{metric}"
+ puts "metric_info=#{metric_info}"
+
if metric_info.is_web_transaction?
- log.debug "recorded web transaction"
+ puts "recording web transaction"
NewRelic::Agent::Instrumentation::MetricFrame.record_apdex(metric_info, duration_seconds, duration_seconds, is_error)
histogram.process(duration_seconds)
end

0 comments on commit f709e05

Please sign in to comment.