agents
agents copied to clipboard
Multiple traces created for a single LiveKit call instead of one unified trace
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?