• Format attributes for OpenTelemetry span Ensures all values are compatible with OTel attribute types

    Parameters

    • attributes: Record<string, any>

    Returns Record<string,
        | string
        | number
        | boolean
        | string[]>