• Add a note to a span.

    Notes are a special type of annotation that allow multiple entries per span (unlike regular annotations which are unique by name and identifier). Each note gets a unique timestamp-based identifier.

    Parameters

    Returns Promise<{ id: string }>

    The ID of the created note annotation

    const result = await addSpanNote({
    spanNote: {
    spanId: "123abc",
    note: "This span looks suspicious, needs review"
    }
    });