vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.9.4.245/lib/new_relic/agent/transaction.rb
def send_transaction_finished_event(state, start_time, end_time)
        duration = end_time.to_f - start_time.to_f
        payload = {
          :name             => @frozen_name,
          :start_timestamp  => start_time.to_f,
          :duration         => duration,
          :metrics          => @metrics,
          :custom_params    => custom_parameters
        }
        append_cat_info(state, duration, payload)
        append_apdex_perf_zone(duration, payload)
        append_referring_transaction_guid_to(state, payload)

        agent.events.notify(:transaction_finished, payload)
      end
# This event is fired when the transaction is fully completed. The metric
# values and sampler can't be successfully modified from this event.
This event is fired when the transaction is fully completed. The metric
values and sampler can't be successfully modified from this event.
This event is fired when the transaction is fully completed . The metric values and sampler can ' t be successfully modified from this event .
def send_transaction_finished_event(state, start_time, end_time)
        duration = end_time.to_f - start_time.to_f
        payload = {
          :name             => @frozen_name,
          :start_timestamp  => start_time.to_f,
          :duration         => duration,
          :metrics          => @metrics,
          :custom_params    => custom_parameters
        }
        append_cat_info(state, duration, payload)
        append_apdex_perf_zone(duration, payload)
        append_referring_transaction_guid_to(state, payload)
        agent.events.notify(:transaction_finished, payload)
      end
def send_transaction_finished_event ( state , start_time , end_time ) duration = end_time . to_f - start_time . to_f payload = { :name => @frozen_name , :start_timestamp => start_time . to_f , :duration => duration , :metrics => @metrics , :custom_params => custom_parameters } append_cat_info ( state , duration , payload ) append_apdex_perf_zone ( duration , payload ) append_referring_transaction_guid_to ( state , payload ) agent . events . notify ( :transaction_finished , payload ) end
This event is fired when the transaction is fully completed.
This event is fired when the transaction is fully completed .
state
start_time
end_time