Hi, I am seeing duplicate entries for traces , with default configuration i was seeing parent level traces however sub tool calls / internal function calls were missing however post adding decorators the sub tools calls got tracked however multiple traces for same sub tool calls being seen. Please refer to below attached images. The expected output also attached which is tracked using mlflow. load_chroma_db and query_top_chunks were traceable after adding decorators however you can see rag tool twice tracked.
馃挕聽Hint: Mention RunLLM in the thread for followups.
Tried the same, however no luck.
I have double checked my code and i think there is no such double configurations which could cause duplicate traces . Still i am finding duplication. Any other resolution?
Hi 馃敀[private user], I have tried with auto instrumentation and then tried with langchain instrumentation followed by disabling auto instrumentation. And the sub tool calls were not being captured. Then i have added decorators and now the sub tool calls being tracked but duplicate entries being shown.
The rag_tool one is duplicate one. If you see another screenshot where i have used MLFLOW which is expected one.
yeah, cause in mlflow in decorator i gave the rag_tool() as Rag Tool, thats why you are seeing them. Same here in phoenix i gave rag_tool() name as rag tool in decorator, however it is showing differently, not grouping them.
What is the resolution here to have same trace structure as mlflow? 馃敀[private user] If you need i can share my code with you .
i was exploring both way defining decorators like, @tracer.tool()/@tracer.agent() etc and @tracer.start_as_current_span()
No problem 馃敀[private user]. Thanks for your help.
Hi 馃敀[private user] Please do let me know if there is update on this. Thanks
ok, cool.
Hi 馃敀[private user] any update
