(Ledger Store) Report RocksDB Column Family Metrics (#22503)

This PR enables blockstore to periodically report RocksDB column family properties.
The reported properties are under blockstore_rocksdb_cfs, and the properties also
support group by operation on cf_name.
This commit is contained in:
Yueh-Hsuan Chiang
2022-03-05 16:13:03 -08:00
committed by GitHub
parent ba771cdc45
commit b8b7163b66
6 changed files with 326 additions and 8 deletions

View File

@ -294,7 +294,7 @@ mod tests {
*time_previous = time_now;
*storage_previous = storage_now;
*data_shred_storage_previous = data_shred_storage_now;
*data_shred_storage_previous = data_shred_storage_now.try_into().unwrap();
}
/// Helper function of the benchmark `test_ledger_cleanup_compaction` which