Skip to main content

Module collector

Module collector 

Source
Expand description

Metrics collector — subscribes to turn-end hooks and accumulates session metrics.

Runs in an independent tokio task via channel isolation so that observer panics never affect the agent runtime.

Structs§

ObserverHandle
Handle to the background observer task.

Functions§

init_telemetry
Initialise telemetry for an agent runtime.