Optional_parentSpan: AISpanOptionalonEnd: (span: AISpan) => voidSet an attribute on the span
Set multiple attributes
Record an exception
Set span status
Optionalmessage: stringEnd the span
ReadonlyidUnique identifier for this span
ReadonlynameSpan name
ReadonlytypeSpan type
ReadonlystartStart time
OptionalendEnd time (set when span is completed)
OptionaldurationSpan duration in milliseconds
Span status
OptionalerrorError if span failed
ReadonlyattributesSpan attributes (metadata)
In-memory implementation of AISpan