Traces take too long to show up
I'm trying to use langfuse to debug traces during development and I find myself waiting minutes to see traces appear. Is this expected?
when using langsmith I can see stuff showing up almost instantly which is the experience I'm looking for.
3 Replies
How do you log traces to Langfuse and what kind of jobs do you run (local batch, continuous in production)?
The sdks log data to the api in batches but usually every second at least. Thus, you should see data in Langfuse almost instantly
hmm okay. Doing something like this:
This is an example of the trace: https://cloud.langfuse.com/project/clzgvmdsq0016dca36phntcd5/traces/30186174433271e650b5b0473481da4e?observation=5da0dd0d2118b149
Not sure I understand the structure on the right sidebar, when I click into it it looks like there's duplication, unless the LLM is actually going through the flow twice..
sdk shutdown should flush the traces to Langfuse. Is there a big delay after shutdown until you see them in the Langfuse ui?