Langfuse JS/TS SDKs
    Preparing search index...

    Function createTraceIOAttributes

    • Internal

      Creates OpenTelemetry attributes from Langfuse trace IO attributes.

      Converts trace input/output into the internal OpenTelemetry attribute format required by the span processor.

      Parameters

      Returns Attributes

      OpenTelemetry attributes object with non-null values

      This is for backward compatibility with legacy platform features that still rely on trace-level input/output. Use propagateAttributes for other trace attributes.