---
title: ObserveOptions
seo:
  title: ObserveOptions — TypeScript SDK
  description: Options for BaseTracer.observe. (TypeScript SDK)
description: Options for BaseTracer.observe.
---

## Properties

| Prop | Type | Default | Description |
| - | - | - | - |
| `spanType?` | `string \| undefined` | - | The span kind (e.g. "llm", "tool", "span"). Defaults to "span". |
| `spanName?` | `string \| undefined` | - | Custom span name. Defaults to the wrapped function's name. |
| `recordInput?` | `boolean \| undefined` | - | Whether to record function inputs as a span attribute. Defaults to true. |
| `recordOutput?` | `boolean \| undefined` | - | Whether to record function outputs as a span attribute. Defaults to true. |
| `fork?` | `boolean \| undefined` | - | If true, run the function in a fresh linked trace instead of as a child of the current trace, when an active parent span exists. Defaults to false. |
