# Interface PatternMetrics

Aggregated performance metrics for a pattern-task combination.

interface PatternMetrics {
pattern: WorkflowPattern;
taskType: string;
totalExecutions: number;
successCount: number;
successRate: number;
avgDurationMs: number;
}

- Defined in packages/nexus-agents/src/orchestration/workflow-router-types.ts:111

##### Index

### Properties

pattern
taskType
totalExecutions
successCount
successRate
avgDurationMs

## Properties

### `Readonly` pattern

pattern: WorkflowPattern

- Defined in packages/nexus-agents/src/orchestration/workflow-router-types.ts:112

### `Readonly` taskType

taskType: string

- Defined in packages/nexus-agents/src/orchestration/workflow-router-types.ts:113

### `Readonly` totalExecutions

totalExecutions: number

- Defined in packages/nexus-agents/src/orchestration/workflow-router-types.ts:114

### `Readonly` successCount

successCount: number

- Defined in packages/nexus-agents/src/orchestration/workflow-router-types.ts:115

### `Readonly` successRate

successRate: number

- Defined in packages/nexus-agents/src/orchestration/workflow-router-types.ts:116

### `Readonly` avgDurationMs

avgDurationMs: number

- Defined in packages/nexus-agents/src/orchestration/workflow-router-types.ts:117