ParentContext type
スパン作成の親コンテキスト。 以下のいずれかを受け入れます:
- ParentSpanRef: 明示的な traceId/spanId ペア (手動アプローチ)
-
ParentContext: OTel コンテキスト。通常は extractContextFromHeaders または
propagation.extract()
type ParentContext = ParentSpanRef | Context