# Interface OrchestrationStats

Aggregate orchestration statistics.

interface OrchestrationStats {
totalSessions: number;
activeSessions: number;
totalTasks: number;
successRate: number;
avgTaskDurationMs: number;
routingDistribution: Record<CliName, number>;
totalTokens: number;
totalCostUsd: number;
eventsProcessed: number;
uptimeMs: number;
consensus: ConsensusStats;
}

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:107

##### Index

### Properties

totalSessions
activeSessions
totalTasks
successRate
avgTaskDurationMs
routingDistribution
totalTokens
totalCostUsd
eventsProcessed
uptimeMs
consensus

## Properties

### totalSessions

totalSessions: number

Total sessions observed

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:109

### activeSessions

activeSessions: number

Currently active sessions

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:111

### totalTasks

totalTasks: number

Total tasks processed

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:113

### successRate

successRate: number

Success rate (0-1)

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:115

### avgTaskDurationMs

avgTaskDurationMs: number

Average task duration in ms

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:117

### routingDistribution

routingDistribution: Record<CliName, number>

Routing decisions per CLI

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:119

### totalTokens

totalTokens: number

Total tokens used

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:121

### totalCostUsd

totalCostUsd: number

Total cost (estimated)

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:123

### eventsProcessed

eventsProcessed: number

Events processed

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:125

### uptimeMs

uptimeMs: number

Observer uptime in ms

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:127

### consensus

consensus: ConsensusStats

Consensus voting statistics (Issue #552)

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:129