setStatus

open override fun setStatus(status: SpanStatus, description: String? = null): NoOpSpan

Set the status of this span.

Return

This span for chaining

Parameters

status

The span status

description

Optional description (usually for ERROR status)