Spandex.Adapter behaviour (Spandex v3.1.0) View Source
The callbacks required to implement the Spandex.Adapter behaviour.
Link to this section Summary
Link to this section Callbacks
Specs
default_sender() :: module()
Specs
distributed_context(Plug.Conn.t(), Keyword.t()) :: {:ok, Spandex.SpanContext.t()} | {:error, atom()}
distributed_context(Spandex.headers(), Keyword.t()) :: {:ok, Spandex.SpanContext.t()} | {:error, atom()}
Specs
inject_context(Spandex.headers(), Spandex.SpanContext.t(), Keyword.t()) :: Spandex.headers()
Specs
now() :: Spandex.timestamp()
Specs
span_id() :: Spandex.id()
Specs
trace_id() :: Spandex.id()