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

[Feature Request]: Provide Different Trace Levels for Application Errors #78

Open
lilyjazz opened this issue Apr 10, 2024 · 0 comments
Open

Comments

@lilyjazz
Copy link
Member

Is your feature request related to a problem? Please describe.

The design of LinguFlow App is based on a DAG (Directed Acyclic Graph) for information flow. In the DAG, if a block encounters an error during execution (e.g., an SQL block receives an error from the database), the block will return the error, and the entire DAG execution will be terminated.

After the DAG execution is terminated, completed block information is still sent to LangFuse (a Tracing Tool).

In LangFuse, it is challenging to quickly distinguish between DAG errors and successful block returns because all traces are currently set to the same level 'default'.

image

Describe the solution you'd like

Implement a more nuanced tracing level logic, such as:

  • Any complete DAG execution is labeled as 'normal', regardless of whether the execution result meets expectations.
  • When an error occurs during block execution, the tracing level is labeled as 'error'."

Additional context

It is expected to have a logical way to use LangFuse Tracing Levels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant