From 427ad7b5bde27fe71cff13a1ed0a6a3f26302ed4 Mon Sep 17 00:00:00 2001 From: steviez Date: Sun, 30 Apr 2023 21:39:44 -0400 Subject: [PATCH] Combine AccountsHashVerifier metrics (#31420) It is more efficient to submit the metrics together, and there is no reason for them to be separate. --- core/src/accounts_hash_verifier.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/accounts_hash_verifier.rs b/core/src/accounts_hash_verifier.rs index 898f883f5e..a8a38213a4 100644 --- a/core/src/accounts_hash_verifier.rs +++ b/core/src/accounts_hash_verifier.rs @@ -567,10 +567,10 @@ impl AccountsHashVerifier { } } } - inc_new_counter_info!("accounts_hash_verifier-hashes_verified", verified_count); datapoint_info!( "accounts_hash_verifier", ("highest_slot_verified", highest_slot, i64), + ("num_verified", verified_count, i64), ); false }