Function
spanFields
(
parent: queryCore.SpanContext | undefined
)
Source from the content-addressed store, hash-verified
| 3020 | // ----------------------------------------------------------------------------- |
| 3021 | |
| 3022 | const spanFields = ( |
| 3023 | parent: queryCore.SpanContext | undefined |
| 3024 | ): { readonly traceId?: string; readonly parentSpanId?: string } => |
| 3025 | parent === undefined |
| 3026 | ? {} |
| 3027 | : { traceId: parent.traceId, parentSpanId: parent.spanId } |
| 3028 | |
| 3029 | interface FetchEvent { |
| 3030 | readonly query: string |
Tested by
no test coverage detected