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

tracing with Langsmith split a run in multiple traces #6917

Open
snova-jorgep opened this issue Mar 4, 2025 · 1 comment
Open

tracing with Langsmith split a run in multiple traces #6917

snova-jorgep opened this issue Mar 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@snova-jorgep
Copy link

Bug Description

when tracing with arize, each run creates as many traces as llm based components are in the flow

Reproduction

use a template with more than one llm or agent component, execute one run, in arize it will appear several independent traces that can't be join together or attached to an specific run by any key

Expected behavior

complete flow run under only one trace

Who can help?

No response

Operating System

mac os sequoia 15.1

Langflow Version

1.2.0

Python Version

3.10

Screenshot

Image
in the image both independent traces are two agent from the same flow

Flow File

No response

@snova-jorgep snova-jorgep added the bug Something isn't working label Mar 4, 2025
Copy link

dosubot bot commented Mar 4, 2025

I found a similar open issue regarding the problem of tracing with Langsmith splitting a run into multiple traces when using multiple LLM or agent components in Langflow. The suggested solution involves ensuring that the trace name and run ID are consistently set across all components in your flow. This might require checking the initialization and management of tracers in the TracingService to ensure they are correctly linking all components' traces to a single run. If this behavior is not configurable in the current version, it might require a change in how Langflow handles trace grouping for complex flows with multiple components [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant