Langfuse JS/TS SDKs
    Preparing search index...

    Function setLangfuseTraceIdInBaggage

    • Internal

      Returns a context that carries the Langfuse trace-id app-root claim in baggage. If the context already carries the same claim, the original context is returned unchanged so we don't churn baggage instances.

      Parameters

      • context: Context
      • traceId: string

      Returns Context