Open
Description
Description
otelhttp
only uses span.RecordError(err)
when errType
is not empty
opentelemetry-go-contrib/instrumentation/net/http/otelhttp/transport.go
Lines 132 to 140 in b857249
But ErrorType
method never returns an empty attribute.
Expected behavior
I don't have a preference on whether we should record error.type
with exception.type
at the same time. But the comment and the logic here seem conflicted.
Metadata
Metadata
Assignees
Type
Projects
Status
Todo