Skip to content

Conversation

aryamohanan
Copy link
Contributor

@aryamohanan aryamohanan commented Oct 18, 2025

Which problem is this PR solving?

This PR addresses the lack of recorded exceptions in PostgreSQL spans. Previously, when a query failed, the span only set SpanStatusCode.ERROR without capturing exception details.

Fixes #3172

Short description of the changes

  • Added exceptions event to record unhandled query errors as span events.
  • Added tests.

@aryamohanan aryamohanan marked this pull request as ready for review October 18, 2025 17:01
@aryamohanan aryamohanan requested a review from a team as a code owner October 18, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Record Postgres instrumentation errors

2 participants