diff --git a/consensus/src/quorum_store/counters.rs b/consensus/src/quorum_store/counters.rs index da8d34a9672..e3fb36b66ba 100644 --- a/consensus/src/quorum_store/counters.rs +++ b/consensus/src/quorum_store/counters.rs @@ -166,7 +166,7 @@ pub static BATCH_NUM_PER_BLOCK: Lazy = Lazy::new(|| { "quorum_store_batch_num_per_block", "Histogram for the number of batches per (committed) blocks.", &["type"], - TRANSACTION_COUNT_BUCKETS.clone(), + PROOF_COUNT_BUCKETS.clone(), ) .unwrap() }); @@ -389,7 +389,7 @@ pub static NUM_BATCHES_WITHOUT_PROOF_OF_STORE: Lazy = Lazy::new(|| { register_histogram!( "num_batches_without_proof_of_store", "Histogram for the number of batches without proof of store in proof manager", - TRANSACTION_COUNT_BUCKETS.clone(), + PROOF_COUNT_BUCKETS.clone(), ) .unwrap() }); @@ -418,7 +418,7 @@ pub static PROOF_SIZE_WHEN_PULL: Lazy = Lazy::new(|| { register_histogram!( "quorum_store_proof_size_when_pull", "Histogram for the number of proof-of-store per block when pulled for consensus.", - TRANSACTION_COUNT_BUCKETS.clone(), + PROOF_COUNT_BUCKETS.clone(), ) .unwrap() });