Notes are append-only: each call creates a new note with an auto-generated
UUIDv4 identifier, so multiple notes accumulate on the same span. Structured
annotations, by contrast, are keyed by (name, spanId, identifier) — to keep
multiple structured annotations with the same name on a span, supply distinct
identifiers; otherwise re-writing the same name overwrites the existing one.
Add a note to a span.
Notes are append-only: each call creates a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same span. Structured annotations, by contrast, are keyed by
(name, spanId, identifier)— to keep multiple structured annotations with the same name on a span, supply distinct identifiers; otherwise re-writing the same name overwrites the existing one.