Module mz_storage_controller::statistics
source · Expand description
A tokio task (and support machinery) for producing storage statistics.
Structs§
- A wrapper around source and webhook statistics maps so we can hold them within a single lock.
Enums§
Traits§
- AsStats 🔒Conversion trait to allow multiple shapes of data in
spawn_statistics_scraper
.
Functions§
- Spawns a task that continually (at an interval) writes statistics from storaged’s that are consolidated in shared memory in the controller.
- Spawns a task that continually drains webhook statistics into `shared_stats.