Spandex v1.6.0 Spandex.Strategy behaviour View Source

The behaviour for a storage strategy for storing an ongoing trace.

Link to this section Summary

Link to this section Types

Link to this type tracer() View Source
tracer() :: module

Link to this section Callbacks

Link to this callback delete_trace(tracer) View Source
delete_trace(tracer) :: :ok | {:error, term}
Link to this callback get_trace(tracer) View Source
get_trace(tracer) :: Spandex.Trace.t | nil
Link to this callback put_trace(tracer, arg1) View Source
put_trace(tracer, Spandex.Trace.t) ::
  {:ok, Spandex.Trace.t} |
  {:error, term}