opentelemetry-erlang-contrib/instrumentation/opentelemetry_phoenix/lib
Derek Kraan 7119c4bd42
Record an exception as an error only when Plug.Exception.status/1 (#165)
returns 500..599.

It is encouraged in the Phoenix docs to use `Plug.Exception` with
custom exceptions to generate for example 404 responses at certain
places. These 404s should not be marked as error, since simple "route
not found" 404s are also not marked as error.

Co-authored-by: Tristan Sloughter <t@crashfast.com>
2023-07-06 13:44:16 -06:00
..
opentelemetry_phoenix inspect terms that otherwise can't be serialized by exporter (#40) 2021-11-18 18:02:36 -07:00
opentelemetry_phoenix.ex Record an exception as an error only when Plug.Exception.status/1 (#165) 2023-07-06 13:44:16 -06:00