setParent

abstract fun setParent(context: SpanContext?): SpanBuilder

Set the parent span context.

Return

This builder for chaining

Parameters

context

Parent span context, or null for root span