Skip to content

Commit

Permalink
feat(tracing): Allow for spanId to be passed into startChild (#6028)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad authored Oct 24, 2022
1 parent c78fbf2 commit 89e4e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tracing/src/span.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class Span implements SpanInterface {
* @inheritDoc
*/
public startChild(
spanContext?: Pick<SpanContext, Exclude<keyof SpanContext, 'spanId' | 'sampled' | 'traceId' | 'parentSpanId'>>,
spanContext?: Pick<SpanContext, Exclude<keyof SpanContext, 'sampled' | 'traceId' | 'parentSpanId'>>,
): Span {
const childSpan = new Span({
...spanContext,
Expand Down

0 comments on commit 89e4e9f

Please sign in to comment.