<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / PerformanceMetrics

# Interface: PerformanceMetrics

Performance metrics entry

## Table of contents

### Properties

- [executionId](PerformanceMetrics#executionid)
- [conversationId](PerformanceMetrics#conversationid)
- [timestamp](PerformanceMetrics#timestamp)
- [operation](PerformanceMetrics#operation)
- [duration](PerformanceMetrics#duration)
- [memoryUsage](PerformanceMetrics#memoryusage)
- [cpuUsage](PerformanceMetrics#cpuusage)
- [networkStats](PerformanceMetrics#networkstats)
- [errorCount](PerformanceMetrics#errorcount)
- [success](PerformanceMetrics#success)
- [metadata](PerformanceMetrics#metadata)

## Properties

### executionId

• `Optional` **executionId**: `string`

#### Defined in

[packages/agents/src/plugins/performance/types.ts:10](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L10)

---

### conversationId

• `Optional` **conversationId**: `string`

#### Defined in

[packages/agents/src/plugins/performance/types.ts:11](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L11)

---

### timestamp

• **timestamp**: `Date`

#### Defined in

[packages/agents/src/plugins/performance/types.ts:12](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L12)

---

### operation

• **operation**: `string`

#### Defined in

[packages/agents/src/plugins/performance/types.ts:13](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L13)

---

### duration

• **duration**: `number`

#### Defined in

[packages/agents/src/plugins/performance/types.ts:14](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L14)

---

### memoryUsage

• `Optional` **memoryUsage**: `Object`

#### Type declaration

| Name         | Type                                      |
| :----------- | :---------------------------------------- |
| `used`       | `number`                                  |
| `free`       | `number`                                  |
| `total`      | `number`                                  |
| `heap`       | \{ `used`: `number` ; `total`: `number` } |
| `heap.used`  | `number`                                  |
| `heap.total` | `number`                                  |

#### Defined in

[packages/agents/src/plugins/performance/types.ts:15](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L15)

---

### cpuUsage

• `Optional` **cpuUsage**: `Object`

#### Type declaration

| Name      | Type     |
| :-------- | :------- |
| `user`    | `number` |
| `system`  | `number` |
| `percent` | `number` |

#### Defined in

[packages/agents/src/plugins/performance/types.ts:24](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L24)

---

### networkStats

• `Optional` **networkStats**: `Object`

#### Type declaration

| Name            | Type     |
| :-------------- | :------- |
| `requests`      | `number` |
| `bytesReceived` | `number` |
| `bytesSent`     | `number` |
| `latency`       | `number` |

#### Defined in

[packages/agents/src/plugins/performance/types.ts:29](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L29)

---

### errorCount

• **errorCount**: `number`

#### Defined in

[packages/agents/src/plugins/performance/types.ts:35](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L35)

---

### success

• **success**: `boolean`

#### Defined in

[packages/agents/src/plugins/performance/types.ts:36](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L36)

---

### metadata

• `Optional` **metadata**: `Record`\<`string`, `string` \| `number` \| `boolean` \| `Date`\>

#### Defined in

[packages/agents/src/plugins/performance/types.ts:37](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/performance/types.ts#L37)
