AppSignal v1.4.2 Appsignal.TransactionBehaviour behaviour View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback complete() View Source
complete() :: :ok
Link to this callback complete(arg0) View Source
complete(Transaction.t() | nil) :: :ok
Link to this callback finish() View Source
finish() :: :sample | :no_sample
Link to this callback finish(arg0) View Source
finish(Transaction.t() | nil) :: :sample | :no_sample
Link to this callback finish_event(arg0, arg1, arg2, any, integer) View Source
finish_event(Appsignal.Transaction.t() | nil, String.t(), String.t(), any(), integer()) :: Appsignal.Transaction.t()
Link to this callback set_action(arg0) View Source
set_action(String.t()) :: Transaction.t()
Link to this callback set_action(arg0, arg1) View Source
set_action(Transaction.t() | nil, String.t()) :: Transaction.t()
Link to this callback set_error(arg0, arg1, arg2, any) View Source
set_error(Transaction.t() | nil, String.t(), String.t(), any()) :: Transaction.t()
Link to this callback set_request_metadata(arg0, arg1) View Source
set_request_metadata(Transaction.t() | nil, Plug.Conn.t()) :: Transaction.t()
Link to this callback set_sample_data(arg0, arg1, any) View Source
set_sample_data(Transaction.t() | nil, String.t(), any()) :: Transaction.t()