Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove puts

  • Loading branch information...
commit f709e05d2b600978e2b9fbc6ef349e05c9334965 1 parent 331877c
@bkayser bkayser authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/new_relic/agent/agent.rb
View
7 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
Please sign in to comment.
Something went wrong with that request. Please try again.