Skip to main content

Module collector

Module collector 

Source
Expand description

Background telemetry collection loop.

Periodically collects Docker snapshots, metrics, and events and persists them into a TelemetryStore. Runs as a background tokio task.

Structs§

CollectionStats
Result from a single collection tick.
CollectorConfig
Configuration for the background collector.

Functions§

spawn_metrics_collector
Spawn a background metrics collector that periodically writes to the store.