I autoinstrumented my langgraph workflow using phoenix's openinference. After running the workflow a couple of times, I have opened my project in phoenix's web console. I was seeing all traces jumbled up and it was very hard to understand what was going on. I got to know that a trace contains multiple spans. How do I instrument my workflow such that each execution of workflow creates a single trace on the phoenix dashboard and when I click that trace, I will be able to see all the executions and LLM calls done in nodes in the form of spans?
馃挕聽Hint: Mention RunLLM in the thread for followups.
Hi Chandrahaas J. can you share a code snippet?
I'm following since we're having the same problem.
hey Xander S., Samantha Z. In langgraph we execute each workflow with certian threadIDs. These ThreadIDs can be used to create a session which will store all the traces session wise.
Thanks Chandrahaas J.. I'm not sure what the issue might be. If you can provide a code snippet that reproduces the issue, that would be a good start.
