Module metrics

Source
Expand description

Utilities related to metrics.

Structs§

Metrics
Prometheus monitoring metrics.
SinkMetrics
Metrics for the persist sink. (While this lies slightly outside the usual abstraction boundary of the client, it’s convenient to manage them together.
SinkWorkerMetrics
Metrics for the persist sink that are labeled per-worker.

Enums§

UpdateDelta
Represents a change in a number of updates kept in a data structure (e.g., a buffer length or capacity change).

Functions§

encode_ts_metric
Encode a frontier into an i64 acceptable for use in metrics.