Class NewRelic::Agent::TransactionState
In: lib/new_relic/agent/transaction_state.rb
Parent: Object

This is THE location to store thread local information during a transaction Need a new piece of data? Add a method here, NOT a new thread local variable.

Methods

Attributes

busy_entries  [RW]  Busy calculator
client_cross_app_id  [RW]  Cross app tracing Because we need values from headers before the transaction actually starts
current_transaction  [R]  Current transaction stack and sample building
is_cross_app_caller  [RW]  Cross app tracing Because we need values from headers before the transaction actually starts
record_sql  [RW]  TT‘s and SQL
record_tt  [RW]  TT‘s and SQL
referring_transaction_info  [RW]  Cross app tracing Because we need values from headers before the transaction actually starts
request  [RW]  Request data
sql_sampler_transaction_data  [RW]  Sql Sampler Transaction Data
traced_method_stack  [R]  Scope stack tracking from NewRelic::StatsEngine::Transactions Should not be nil—this class manages its initialization and resetting
transaction_sample_builder  [RW] 
untraced  [RW]  Execution tracing on current thread

Public Class methods

This method should only be used by TransactionState for access to the current thread‘s state or to provide read-only accessors for other threads

If ever exposed, this requires additional synchronization

Public Instance methods

This starts the timer for the transaction.

[Validate]