Span spanFromContext(Context context) { return context.getValue(_spanKey) ?? NonRecordingSpan(SpanContext.invalid()); }