StartSpanOptions.childOf property
Span to parent the new one to. Pass null explicitly to force a root span — omitting it lets the tracer pick whatever is active, which is rarely what an entry point wants.
Signature:
childOf?: any;
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.