# Interface InteractionObserverConfig

Configuration for the SwarmObserver.

interface InteractionObserverConfig {
maxEvents: number;
metricsWindowMs: number;
logPayloads: boolean;
bottleneckThreshold: number;
minClusterSize: number;
cohesionThreshold: number;
}

- Defined in packages/nexus-agents/src/observability/swarm-observer-core-types.ts:62

##### Index

### Properties

maxEvents
metricsWindowMs
logPayloads
bottleneckThreshold
minClusterSize
cohesionThreshold

## Properties

### `Readonly` maxEvents

maxEvents: number

Maximum events to keep in memory

- Defined in packages/nexus-agents/src/observability/swarm-observer-core-types.ts:64

### `Readonly` metricsWindowMs

metricsWindowMs: number

Time window for metrics calculation (ms)

- Defined in packages/nexus-agents/src/observability/swarm-observer-core-types.ts:66

### `Readonly` logPayloads

logPayloads: boolean

Enable detailed payload logging

- Defined in packages/nexus-agents/src/observability/swarm-observer-core-types.ts:68

### `Readonly` bottleneckThreshold

bottleneckThreshold: number

Bottleneck threshold (queued messages)

- Defined in packages/nexus-agents/src/observability/swarm-observer-core-types.ts:70

### `Readonly` minClusterSize

minClusterSize: number

Minimum cluster size to detect

- Defined in packages/nexus-agents/src/observability/swarm-observer-core-types.ts:72

### `Readonly` cohesionThreshold

cohesionThreshold: number

Cohesion threshold for cluster detection

- Defined in packages/nexus-agents/src/observability/swarm-observer-core-types.ts:74