Set an attribute on the span
Set multiple attributes
Record an exception
End the span
ReadonlyidUnique identifier for this span
ReadonlynameSpan name
ReadonlytypeSpan type
ReadonlystartStart time
Optional ReadonlyendEnd time (set when span is completed)
Optional ReadonlydurationSpan duration in milliseconds
ReadonlystatusSpan status
Optional ReadonlyerrorError if span failed
ReadonlyattributesSpan attributes (metadata)
A telemetry span representing a unit of work