AppSignal v1.12.1 Appsignal.TransactionBehaviour behaviour View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback

complete()

View Source
complete() :: :ok | nil
Link to this callback

complete(arg1)

View Source
complete(Appsignal.Transaction.t() | any()) :: :ok | nil
Link to this callback

finish()

View Source
finish() :: :sample | :no_sample | nil
Link to this callback

finish(arg1)

View Source
finish(Appsignal.Transaction.t() | any()) :: :sample | :no_sample | nil
Link to this callback

finish_event(arg1, arg2, arg3, any, integer)

View Source
finish_event(
  Appsignal.Transaction.t() | any(),
  String.t(),
  String.t(),
  any(),
  integer()
) :: Appsignal.Transaction.t() | nil
Link to this callback

set_error(arg1, arg2, arg3, any)

View Source
Link to this callback

set_request_metadata(arg1, arg2)

View Source
set_request_metadata(Appsignal.Transaction.t() | any(), Plug.Conn.t()) ::
  Appsignal.Transaction.t() | nil
Link to this callback

set_sample_data(arg1, arg2, any)

View Source
set_sample_data(Appsignal.Transaction.t() | any(), String.t(), any()) ::
  Appsignal.Transaction.t() | nil