agents / Exports / PerformanceMetrics
Interface: PerformanceMetrics
Performance metrics entry
Table of contents
Properties
- executionId
- conversationId
- timestamp
- operation
- duration
- memoryUsage
- cpuUsage
- networkStats
- errorCount
- success
- metadata
Properties
executionId
• Optional executionId: string
Defined in
packages/agents/src/plugins/performance/types.ts:10
conversationId
• Optional conversationId: string
Defined in
packages/agents/src/plugins/performance/types.ts:11
timestamp
• timestamp: Date
Defined in
packages/agents/src/plugins/performance/types.ts:12
operation
• operation: string
Defined in
packages/agents/src/plugins/performance/types.ts:13
duration
• duration: number
Defined in
packages/agents/src/plugins/performance/types.ts:14
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
cpuUsage
• Optional cpuUsage: Object
Type declaration
| Name | Type |
|---|---|
user | number |
system | number |
percent | number |
Defined in
packages/agents/src/plugins/performance/types.ts:24
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
errorCount
• errorCount: number
Defined in
packages/agents/src/plugins/performance/types.ts:35
success
• success: boolean
Defined in
packages/agents/src/plugins/performance/types.ts:36
metadata
• Optional metadata: Record<string, string | number | boolean | Date>