AppSignal v1.0.0 Appsignal.TransactionBehaviour behaviour

Summary

Types

namespace()
namespace :: :http_request | :background_job

Callbacks

complete()
complete :: :ok
complete(arg0)
complete(Transaction.t | nil) :: :ok
finish()
finish :: :sample | :no_sample
finish(arg0)
finish(Transaction.t | nil) :: :sample | :no_sample
finish_event(arg0, arg1, arg2, any, integer)
finish_event(Appsignal.Transaction.t | nil, String.t, String.t, any, integer) :: Appsignal.Transaction.t
set_error(arg0, arg1, arg2, any)
set_error(Transaction.t | nil, String.t, String.t, any) :: Transaction.t
start(arg0, namespace)
start_event()
start_event :: Appsignal.Transaction.t