View Source Spandex.Strategy behaviour (Spandex v3.2.0)
The behaviour for a storage strategy for storing an ongoing trace.
Link to this section Summary
Link to this section Types
@type tracer() :: module()
Link to this section Callbacks
@callback delete_trace(tracer()) :: {:ok, Spandex.Trace.t()} | {:error, term()}
@callback get_trace(tracer()) :: {:ok, Spandex.Trace.t()} | {:error, term()}
@callback put_trace(tracer(), Spandex.Trace.t()) :: {:ok, Spandex.Trace.t()} | {:error, term()}