vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.9.4.245/lib/new_relic/agent/transaction.rb
def start(state)
        return if !state.is_execution_traced?

        transaction_sampler.on_start_transaction(state, start_time, uri)
        sql_sampler.on_start_transaction(state, start_time, uri)
        NewRelic::Agent.instance.events.notify(:start_transaction)
        NewRelic::Agent::BusyCalculator.dispatcher_start(start_time)

        @trace_options = { :metric => true, :scoped_metric => false }
        @expected_scope = NewRelic::Agent::MethodTracer::TraceExecutionScoped.trace_execution_scoped_header(state, start_time.to_f)
      end
# Indicate that we are entering a measured controller action or task.
# Make sure you unwind every push with a pop call.
Indicate that we are entering a measured controller action or task.
Make sure you unwind every push with a pop call.
Indicate that we are entering a measured controller action or task . Make sure you unwind every push with a pop call .
def start(state)
        return if !state.is_execution_traced?
        transaction_sampler.on_start_transaction(state, start_time, uri)
        sql_sampler.on_start_transaction(state, start_time, uri)
        NewRelic::Agent.instance.events.notify(:start_transaction)
        NewRelic::Agent::BusyCalculator.dispatcher_start(start_time)
        @trace_options = { :metric => true, :scoped_metric => false }
        @expected_scope = NewRelic::Agent::MethodTracer::TraceExecutionScoped.trace_execution_scoped_header(state, start_time.to_f)
      end
def start ( state ) return if ! state . is_execution_traced? transaction_sampler . on_start_transaction ( state , start_time , uri ) sql_sampler . on_start_transaction ( state , start_time , uri ) NewRelic :: Agent . instance . events . notify ( :start_transaction ) NewRelic :: Agent :: BusyCalculator . dispatcher_start ( start_time ) @trace_options = { :metric => true , :scoped_metric => false } @expected_scope = NewRelic :: Agent :: MethodTracer :: TraceExecutionScoped . trace_execution_scoped_header ( state , start_time . to_f ) end
Indicate that we are entering a measured controller action or task.
Indicate that we are entering a measured controller action or task .
state