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.
Structs§
- A boolean gauge that is never reset.
- A counter that never resets.
- A gauge that has semantics based on the
StorageMetric
implementation of its inner. - A latency gauge that is reset on every restart.
- A numerical gauge that is always resets, but can start out as
NULL
. - A numerical gauge that is always resets.
- An update as reported from a storage instance. The semantics of each field are documented above in
MZ_SINK_STATISTICS_RAW_DESC
, and encoded in the field types. - An update as reported from a storage instance. The semantics of each field are documented above in
MZ_SOURCE_STATISTICS_RAW_DESC
, and encoded in the field types. - A numerical gauge that never regresses.
- Statistics for webhooks.
Statics§
Traits§
- 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