We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41e0d74 commit 5319e53Copy full SHA for 5319e53
api/src/trace/SpanOptions.ts
@@ -44,6 +44,9 @@ export interface SpanOptions {
44
* A parent `SpanContext` (or `Span`, for convenience) that the newly-started
45
* span will be the child of. This overrides the parent span extracted from
46
* the currently active context.
47
+ *
48
+ * A null value here should prevent the SDK from extracting a parent from
49
+ * the current context, forcing the new span to be a root span.
50
*/
51
parent?: Span | SpanContext | null;
52
0 commit comments