contextWithSpanContext function

Context contextWithSpanContext(
  1. Context parent,
  2. SpanContext spanContext
)

Implementation

Context contextWithSpanContext(Context parent, SpanContext spanContext) {
  return contextWithSpan(parent, NonRecordingSpan(spanContext));
}