Module mz_storage_client::statistics

source ·
Expand description

These structure represents a full set up updates for the mz_source_statistics_raw and mz_sink_statistics_raw tables for a specific source-worker/sink-worker pair. They are structured like this for simplicity and efficiency: Each storage worker can individually collect and consolidate metrics, then control how much StorageResponse traffic is produced when sending updates back to the controller to be written.

The proto conversions for this types are in the client module, for now.




  • A trait that abstracts over user-facing statistics objects, used by spawn_statistics_scraper.
  • A trait that defines the semantics storage statistics are able to have