Method: NewRelic::Agent::Transaction#record_summary_metrics
- Defined in:
- lib/new_relic/agent/transaction.rb
permalink #record_summary_metrics(outermost_node_name) ⇒ Object
The summary metrics recorded by this method all end up with a duration equal to the transaction itself, and an exclusive time of zero.
661 662 663 664 665 |
# File 'lib/new_relic/agent/transaction.rb', line 661 def record_summary_metrics(outermost_node_name) metrics = summary_metrics metrics << @frozen_name unless @frozen_name == outermost_node_name @metrics.record_unscoped(metrics, duration, 0) end |