A span represents a single operation within a trace.
setAttribute(key: string,value: SpanAttributeValue): this
Sets a single attribute on the span.
setAttributes(attributes: Readonly<Record<string, SpanAttributeValue>>): this
Sets multiple attributes on the span.
setStatus(status: SpanStatus): void
Sets the status of the span.