AppSignal v1.13.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

record_event(arg1, arg2, arg3, integer, integer)

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

record_event(arg1, arg2, arg3, arg4, integer, integer)

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

set_error(arg1, arg2, arg3, any)

View Source
Link to this callback

set_namespace(atom)

View Source
set_namespace(atom()) :: Transaction.t() | nil
Link to this callback

set_namespace(arg1, arg2)

View Source
set_namespace(Transaction.t() | any(), String.t() | atom()) ::
  Transaction.t() | nil
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