# StartSpanOptions.childOf property · @imqueue/datadog

Source: https://imqueue.org/api/datadog/latest/datadog.startspanoptions.childof/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/datadog 3.2.0 — generated reference, not hand-written

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:**

```typescript
childOf?: any;
```

