Spandex v1.0.3 Spandex.Adapters.Adapter behaviour View Source
Describes the callback for a tracing adapter. Can be used to provide different implementations of reporting/aggregating spans while still using the spandex internal implementation.
Link to this section Summary
Link to this section Callbacks
Link to this callback
continue_trace(arg0, term, term)
View Source
continue_trace(String.t, term, term) :: {:ok, term} | {:error, term}
Link to this callback
current_span_id()
View Source
current_span_id() :: term | nil | {:error, term}
Link to this callback
current_trace_id()
View Source
current_trace_id() :: term | nil | {:error, term}
Link to this callback
start_span(arg0)
View Source
start_span(String.t) :: {:ok, term} | {:error, term}
Link to this callback
start_trace(arg0)
View Source
start_trace(String.t) :: {:ok, term} | {:error, term}