Spandex.Plug.EndTrace (Spandex v3.1.0) View Source
Finishes a trace, setting status and error based on the HTTP status.
Link to this section Summary
Functions
Callback implementation for Plug.call/2
.
Accepts and validates opts for the plug, and underlying tracer.
Link to this section Functions
Specs
call(conn :: Plug.Conn.t(), _opts :: Keyword.t()) :: Plug.Conn.t()
Callback implementation for Plug.call/2
.
Specs
Accepts and validates opts for the plug, and underlying tracer.
Opts
tracer
(:atom
) Required: The tracing module to be used to start the trace.tracer_opts
(:keyword
): Any opts to be passed to the tracer when starting or continuing the trace. - Default: []