> ## 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.

# RecordedSpan

> Interface exported by @botmesh/core/testing.

Defined in: [testing/recordingTracer.ts:28](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L28)

One recorded span.

## Properties

### name

```ts theme={null}
readonly name: string;
```

Defined in: [testing/recordingTracer.ts:29](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L29)

***

### kind

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

Defined in: [testing/recordingTracer.ts:30](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L30)

***

### traceId

```ts theme={null}
readonly traceId: string;
```

Defined in: [testing/recordingTracer.ts:31](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L31)

***

### spanId

```ts theme={null}
readonly spanId: string;
```

Defined in: [testing/recordingTracer.ts:32](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L32)

***

### parentId?

```ts theme={null}
readonly parentId?: string;
```

Defined in: [testing/recordingTracer.ts:34](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L34)

`spanId` of the parent; `undefined` for a root span.

***

### attributes

```ts theme={null}
readonly attributes: Record<string, TraceAttributeValue>;
```

Defined in: [testing/recordingTracer.ts:35](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L35)

***

### events

```ts theme={null}
readonly events: object[];
```

Defined in: [testing/recordingTracer.ts:36](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L36)

#### name

```ts theme={null}
name: string;
```

#### attributes?

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

***

### exceptions

```ts theme={null}
readonly exceptions: SpanException[];
```

Defined in: [testing/recordingTracer.ts:37](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L37)

***

### links

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

Defined in: [testing/recordingTracer.ts:38](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L38)

***

### status

```ts theme={null}
status: SpanStatus;
```

Defined in: [testing/recordingTracer.ts:39](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L39)

***

### startOrder

```ts theme={null}
readonly startOrder: number;
```

Defined in: [testing/recordingTracer.ts:41](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L41)

Order of `startSpan` calls (0-based).

***

### endOrder?

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

Defined in: [testing/recordingTracer.ts:43](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L43)

Order of `end` calls; `undefined` while the span is open.

***

### ended

```ts theme={null}
readonly ended: boolean;
```

Defined in: [testing/recordingTracer.ts:44](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/recordingTracer.ts#L44)


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