You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
empire
changed the title
otelsql: Record error and status when SQL returns an error #114
otelsql: Record error and status when SQL returns an error
Dec 6, 2023
empire
added a commit
to empire/opentelemetry-go-extra
that referenced
this issue
Dec 10, 2023
The Span ends early when SQL returns an error, which prevents Otelsql from recording the error.
This commit fixes this issue by deferring the Span.End() call.
Fixes: uptrace#115
Currently, when SQL returns an error, the error is not recorded and the status is not set.
Pull request: #114
The text was updated successfully, but these errors were encountered: