lib/new_relic/agent/agent.rb in newrelic_rpm-2.13.2 vs lib/new_relic/agent/agent.rb in newrelic_rpm-2.13.3.beta

- old
+ new

@@ -65,10 +65,10 @@ def record_transaction(duration_seconds, options={}) is_error = options['is_error'] || options['error_message'] || options['exception'] metric = options['metric'] metric ||= options['uri'] # normalize this with url rules raise "metric or uri arguments required" unless metric - metric_info = NewRelic::MetricParser.for_metric_named(metric) + metric_info = NewRelic::MetricParser::MetricParser.for_metric_named(metric) if metric_info.is_web_transaction? NewRelic::Agent::Instrumentation::MetricFrame.record_apdex(metric_info, duration_seconds, duration_seconds, is_error) histogram.process(duration_seconds) end