View Source Ash.Tracer behaviour (ash v2.9.24)
A behaviour for implementing tracing for an Ash application.
Link to this section Summary
Callbacks
Set metadata for the current span.
Link to this section Types
Link to this section Callbacks
@callback get_span_context() :: term()
@callback set_error(Exception.t()) :: :ok
Set metadata for the current span.
This may be called multiple times per span, and should ideally merge with previous metadata.
@callback set_span_context(term()) :: :ok
@callback stop_span() :: :ok