Replies: 2 comments
-
|
Hi @Systep-AI! I'm Dosu and I’m helping the phoenix team. The current behavior in Phoenix v11.21.1—where a trace shows an OK status even if one or more spans fail—is intentional and not the result of a recent change. The overall trace status is set by the root span (or parent-level span) and is not automatically aggregated from all contained spans. If you want the trace to reflect an error when any span fails, you should set the error status explicitly in your workflow, typically on the root span during instrumentation. There have been no recent updates or changes to this logic in the codebase, and no documentation or issues indicate a switch from aggregation-over-spans to the current design. This means error propagation to the trace level is not automatic and should be handled in your flow if needed. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
Sorry for the slow reply! The change was made here since child span errors are often not true/final errors for the entire trace. To support both use cases, we’d likely need to make this configurable. Feel free to open an issue and we can discuss next steps. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m working with self-hosted Arize Phoenix v11.21.1 and noticed something regarding trace error statuses.
In one of our LLM workflows, a step failed but the overall trace status still appeared as OK. I recall that in earlier Phoenix versions, if at least one span in a trace failed, the whole trace would be marked with an error status.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions