(parentSpan?: Span)
| 482 | } |
| 483 | |
| 484 | private getSpanContext(parentSpan?: Span) { |
| 485 | const spanContext = parentSpan |
| 486 | ? trace.setSpan(context.active(), parentSpan) |
| 487 | : undefined |
| 488 | |
| 489 | return spanContext |
| 490 | } |
| 491 | |
| 492 | public getRootSpanAttributes() { |
| 493 | const spanId = context.active().getValue(rootSpanIdKey) as number |
no test coverage detected