> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# SpanOptions

> Interface exported by @botmesh/core.

Defined in: [telemetry/types.ts:103](https://github.com/andresayac/botmesh/blob/main/packages/core/src/telemetry/types.ts#L103)

Options of [BotTracer.startSpan](https://botmesh.afaya.com.co/api/core/interfaces/BotTracer.md#startspan) / [BotTracing.startSpan](https://botmesh.afaya.com.co/api/core/interfaces/BotTracing.md#startspan).

## Properties

### kind?

```ts theme={null}
kind?: SpanKind;
```

Defined in: [telemetry/types.ts:104](https://github.com/andresayac/botmesh/blob/main/packages/core/src/telemetry/types.ts#L104)

***

### attributes?

```ts theme={null}
attributes?: TraceAttributes;
```

Defined in: [telemetry/types.ts:105](https://github.com/andresayac/botmesh/blob/main/packages/core/src/telemetry/types.ts#L105)

***

### parent?

```ts theme={null}
parent?: BotSpan | null;
```

Defined in: [telemetry/types.ts:110](https://github.com/andresayac/botmesh/blob/main/packages/core/src/telemetry/types.ts#L110)

`undefined` = the active span (the core's own context first, then the backend's);
`null` = force a new root span.

***

### links?

```ts theme={null}
links?: SpanLink[];
```

Defined in: [telemetry/types.ts:111](https://github.com/andresayac/botmesh/blob/main/packages/core/src/telemetry/types.ts#L111)

***

### startTimeMs?

```ts theme={null}
startTimeMs?: number;
```

Defined in: [telemetry/types.ts:112](https://github.com/andresayac/botmesh/blob/main/packages/core/src/telemetry/types.ts#L112)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.