Spandex v1.0.3 Spandex.Plug.AddContext View Source

Adds request context to the top span of the trace, setting the resource, method, url, service, type and env

Link to this section Summary

Functions

Callback implementation for Plug.call/2

Callback implementation for Plug.init/1

Link to this section Functions

Link to this function call(conn, opts) View Source
call(conn :: Plug.Conn.t, _opts :: Keyword.t) :: Plug.Conn.t

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.