New Relixir v0.5.0 NewRelixir.CurrentTransaction View Source
Keeps track of the New Relic transaction name for the current process.
As soon as a request starts and its transaction name is determined, that
name is stored in the process dictionary with CurrentTransaction.get
.
Later on, spawned descendent processes can still record custom calls and database operations under the same parent New Relic transaction.
Link to this section Summary
Functions
Lookup through process ancestors and find the NewRelic transaction
Associate the given transaction with the current process
Link to this section Functions
Lookup through process ancestors and find the NewRelic transaction.
This function permits you trigger async tasks in controller actions and still inform the external request time in the same context.
Associate the given transaction with the current process.