AppSignal v1.13.5 Appsignal.TransactionBehaviour behaviour View Source

Link to this section Summary

Link to this section Callbacks

Specs

complete() :: :ok | nil

Specs

complete(Appsignal.Transaction.t() | any()) :: :ok | nil

Specs

finish() :: :sample | :no_sample | nil

Specs

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

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

View Source

Specs

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

Specs

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

Specs

record_event(
  Appsignal.Transaction.t(),
  String.t(),
  String.t(),
  String.t(),
  integer(),
  integer()
) :: Transaction.t() | nil

Specs

set_action(String.t()) :: Appsignal.Transaction.t() | nil

Specs

Link to this callback

set_error(arg1, arg2, arg3, any)

View Source

Specs

Specs

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

set_namespace(arg1, arg2)

View Source

Specs

set_namespace(Transaction.t() | any(), String.t() | atom()) ::
  Transaction.t() | nil
Link to this callback

set_request_metadata(arg1, arg2)

View Source

Specs

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

set_sample_data(arg1, any)

View Source

Specs

set_sample_data(String.t(), any()) :: Appsignal.Transaction.t() | nil
Link to this callback

set_sample_data(arg1, arg2, any)

View Source

Specs

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

Specs

Specs

start_event() :: Appsignal.Transaction.t() | nil