method ISpan.setStatus ISpan.setStatus(status: SpanStatus): void Sets the status of the span. Parameters status: SpanStatus The span status Return Type void