You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not able to see Langflow components inputs and outputs in Langfuse tracing.
For instance, for a given component, you will see the component python code instead of the input data. And the Output is completely empty.
Langflow should capture and serialize component inputs and outputs correctly for Langfuse integration. The LangFuseTracer class is responsible for this, using methods like add_trace and end_trace to handle inputs and outputs. These methods should ensure that the actual data, not the code, is included in the trace [1].
If you're seeing code instead of data, it might be due to an issue with how inputs are being captured or serialized. The _convert_to_langwatch_types method is used to convert inputs and outputs to compatible types, which should help ensure that data is correctly represented [2].
To troubleshoot, ensure that the _cleanup_inputs method is correctly sanitizing and storing inputs, and that the LangFuseTracer is properly initialized with the necessary environment variables for Langfuse [3][4]. If the issue persists, reviewing the implementation of these methods might help identify any discrepancies in how data is being processed.
codenprogressive
changed the title
Langflow traces are not well reflected in Langfuse traces
Langflow traces are not well reflected in Langfuse
Oct 19, 2024
In version 1.0.18 traces were working fine. Looks like something was introduced in v19 resulted into breaking things. I see tracing service logic was slightly changed when introducing ruff rules.
In version 1.0.18 traces were working fine. Looks like something was introduced in v19 resulted into breaking things. I see tracing service logic was slightly changed when introducing ruff rules.
I spend a long time debugging this. And you are right, it is a bug that was introduced in the latest version :-(.
Bug Description
Not able to see Langflow components inputs and outputs in Langfuse tracing.
For instance, for a given component, you will see the component python code instead of the input data. And the Output is completely empty.
See screenshot below.
Reproduction
see screenshow:
Expected behavior
I'm expecting to see input data (not the python code) and output data of each components.
Who can help?
@italojohnny
Operating System
Ubuntu
Langflow Version
1.0.19
Python Version
3.10
Screenshot
Flow File
reproduce _error_langfuse (1).json
The text was updated successfully, but these errors were encountered: