Module statistics

Source
Expand description

A tokio task (and support machinery) for producing storage statistics.

Structs§

SourceStatistics 🔒
A wrapper around source and webhook statistics maps so we can hold them within a single lock.

Traits§

AsStats 🔒
Conversion trait to allow multiple shapes of data in spawn_statistics_scraper.

Functions§

spawn_statistics_scraper 🔒
Spawns a task that continually (at an interval) writes statistics from storaged’s that are consolidated in shared memory in the controller.
spawn_webhook_statistics_scraper 🔒
Spawns a task that continually drains webhook statistics into `shared_stats.