ParentContext type
A parent context for span creation. Accepts either:
- ParentSpanRef: explicit traceId/spanId pair (manual approach)
- ParentContext: an OTel Context, typically from extractContextFromHeaders or
propagation.extract()
type ParentContext = ParentSpanRef | Context