opentelemetry-erlang-contrib
opentelemetry-erlang-contrib copied to clipboard
Finch: Sets the trace status to error on any 5xx response
According to the Semantic Conventions any trace for a 5xx response should mark the trace with status: :error. Previously they were not marked as error unless the client throws an error without reaching the server (timeout, connection refused, etc.)