Module mz_storage::statistics

source ·
Expand description

Helpers for managing storage statistics.

This module collects statistics related to sources and sinks. Statistics, as exposed to their respective system tables have strong semantics, defined within the mz_storage_types::statistics module. This module collects and aggregates metrics across workers according to those semantics.

Note that it simultaneously collect prometheus metrics for the given statistics. Those metrics do not have the same strong semantics, which is by design to ensure we are able to categorically debug sources and sinks during complex failures (or bugs with statistics collection itself). Prometheus metrics are

  • Never dropped or reset until a source/sink is dropped.
  • Entirely independent across workers.

Structs§

Type Aliases§