Skip to main content

feldera_storage/
metrics.rs

1use crate::histogram::ExponentialHistogram;
2
3/// Histogram of read latency, in microseconds.
4pub static READ_LATENCY_MICROSECONDS: ExponentialHistogram = ExponentialHistogram::new();
5
6/// Histogram of write latency, in microseconds.
7pub static WRITE_LATENCY_MICROSECONDS: ExponentialHistogram = ExponentialHistogram::new();
8
9/// Histogram of latency syncing to stable storage, in microseconds.
10pub static SYNC_LATENCY_MICROSECONDS: ExponentialHistogram = ExponentialHistogram::new();
11
12/// Histogram of read block sizes, in bytes.
13pub static READ_BLOCKS_BYTES: ExponentialHistogram = ExponentialHistogram::new();
14
15/// Histogram of write block sizes, in bytes.
16pub static WRITE_BLOCKS_BYTES: ExponentialHistogram = ExponentialHistogram::new();