ParentContext type
הקשר אב ליצירת טווח. קבלת אחת מהפעולות הבאות:
- ParentSpanRef: זוג traceId/spanId מפורש (גישה ידנית)
-
ParentContext: הקשר OTel, בדרך כלל מתוך extractContextFromHeaders או
propagation.extract()
type ParentContext = ParentSpanRef | Context