Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] improve visibility into error status codes #1825

Closed
axiomofjoy opened this issue Nov 29, 2023 · 0 comments · Fixed by #1824
Closed

[enhancement] improve visibility into error status codes #1825

axiomofjoy opened this issue Nov 29, 2023 · 0 comments · Fixed by #1824
Assignees
Labels
enhancement New feature or request

Comments

@axiomofjoy
Copy link
Contributor

axiomofjoy commented Nov 29, 2023

Improve Visibility into Error Status Codes

Error status codes on children spans are not propagated upward to parent spans in the UI. This causes a usability issue where users cannot identify traces that contain exceptions without exploding the traces into their constituent spans.

What it Looks Like

Collapsed Traces

No error status code is shown even though one of the traces has an exception.

Screenshot 2023-11-28 at 11 21 00 PM

Exploded Traces

The exception is visible once you explode the traces.

Screenshot 2023-11-28 at 11 21 13 PM

Spans

Only the span containing the exception event has a status code in the UI.

Screenshot 2023-11-28 at 11 21 26 PM

Tree

The ancestor spans in the trace tree do not have error status codes.

Screenshot 2023-11-28 at 11 21 44 PM

Note

This issue does not affect the LangChain tracer since LangChain's tracer class propagates error information up the tree for us.

Originally posted by @axiomofjoy in #1618 (comment)

@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Nov 29, 2023
@axiomofjoy axiomofjoy moved this from 📘 Todo to 🔍. Needs Review in phoenix Nov 29, 2023
@axiomofjoy axiomofjoy self-assigned this Nov 29, 2023
@axiomofjoy axiomofjoy changed the title improve visibility into error status codes [enhancement] improve visibility into error status codes Nov 29, 2023
@axiomofjoy axiomofjoy added the enhancement New feature or request label Nov 29, 2023
@github-project-automation github-project-automation bot moved this from 🔍. Needs Review to ✅ Done in phoenix Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
1 participant