elixir_plug_server_timing
elixir_plug_server_timing copied to clipboard
Avoid crashing on non instrumented responses
When i used
def index(conn, _params)
json(conn, %{})
end
In a controller action, total_call_time was missing from payload, causing a crash. It's better to skip instrumentation in this case than to fail the response.