Hi team,
I’m integrating Langfuse with LiveKit, and I’m running into an issue with trace management.
Currently, for a single call/session in LiveKit, Langfuse is automatically creating multiple traces instead of keeping everything under one unified trace. My goal is to have one trace per call/session, with child spans inside that trace for different steps (LLM calls, tool usage, events, etc.).
Even though I’m explicitly setting up a root span and trace in my custom method
Langfuse still creates separate traces for events happening during the same call.
Questions:
How can I prevent Langfuse from creating multiple traces automatically in LiveKit integration?
Is there a way to disable auto-trace creation and use only my custom trace management logic?