pub trait TrackRocksDBMemory {
// Provided methods
fn gather_memory_stats(&self) { ... }
fn gather_int_values(&self, _: &str) { ... }
}
Expand description
A trait which used to track the RocksDB memory usage.
References: Memory usage in RocksDB
Provided Methods§
sourcefn gather_memory_stats(&self)
fn gather_memory_stats(&self)
Gather memory statistics through ckb-metrics
sourcefn gather_int_values(&self, _: &str)
fn gather_int_values(&self, _: &str)
Gather integer values through ckb-metrics