Convert a SpanAnnotation to the API format
Annotator Kind
The kind of annotator used for the annotation
Optional
Identifier
The identifier of the annotation. If provided, the annotation will be updated if it already exists.
Copy
Metadata
Metadata for the annotation
Name
The name of the annotation
The result of the annotation
Span Id
OpenTelemetry Span ID (hex format w/o 0x prefix)
Convert a SpanAnnotation to the API format