Skip to content

Multiple traces created for a single LiveKit call instead of one unified trace #3319

@gulamsarvar-bluebash

Description

@gulamsarvar-bluebash

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

Image

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions