Skip to content

Commit 89e4e9f

Browse files
authored
feat(tracing): Allow for spanId to be passed into startChild (#6028)
1 parent c78fbf2 commit 89e4e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tracing/src/span.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class Span implements SpanInterface {
153153
* @inheritDoc
154154
*/
155155
public startChild(
156-
spanContext?: Pick<SpanContext, Exclude<keyof SpanContext, 'spanId' | 'sampled' | 'traceId' | 'parentSpanId'>>,
156+
spanContext?: Pick<SpanContext, Exclude<keyof SpanContext, 'sampled' | 'traceId' | 'parentSpanId'>>,
157157
): Span {
158158
const childSpan = new Span({
159159
...spanContext,

0 commit comments

Comments
 (0)