New Relixir v0.1.0 NewRelixir.Transaction
Records information about an instrumented web transaction.
Summary
Types
The name of a repository action
Elapsed time in microseconds
The name of a model
The name of a query
A New Relixir transaction context
Functions
Finishes a web transaction
Records a database query for the current web transaction
Creates a new web transaction
Types
Functions
Specs
finish(t) :: :ok
Finishes a web transaction.
This method should be called just after processing a web transaction. It will record the elapsed time of the transaction.
Records a database query for the current web transaction.
The query name can either be provided as a raw string or as a tuple containing a model and action name.