ParentContext type
En överordnad kontext för att skapa ett intervall. Accepterar antingen:
- ParentSpanRef: explicit traceId/spanId-par (manuell metod)
-
ParentContext: en OTel-kontext, vanligtvis från extractContextFromHeaders eller
propagation.extract()
type ParentContext = ParentSpanRef | Context