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.
The parameters to add a span note
The ID of the created note annotation
const result = await addSpanNote({ spanNote: { spanId: "123abc", note: "This span looks suspicious, needs review" }}); Copy
const result = await addSpanNote({ spanNote: { spanId: "123abc", note: "This span looks suspicious, needs review" }});
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.