Remove counters from ReplayStage (#31532)
replay_stage-voted_empty_bank has been converted into a datapoint that now includes slot number. replay_stage-replay_transactions has been removed altogether as we can get similar information on a per-slot basis from replay-slot-stats metric.
This commit is contained in:
parent
312d31acaa
commit
4300d84c68
|
@ -46,7 +46,6 @@ use {
|
|||
leader_schedule_utils::first_of_consecutive_leader_slots,
|
||||
},
|
||||
solana_measure::measure::Measure,
|
||||
solana_metrics::inc_new_counter_info,
|
||||
solana_poh::poh_recorder::{PohLeaderStatus, PohRecorder, GRACE_TICKS_FACTOR, MAX_GRACE_SLOTS},
|
||||
solana_program_runtime::timings::ExecuteTimings,
|
||||
solana_rpc::{
|
||||
|
@ -2009,7 +2008,7 @@ impl ReplayStage {
|
|||
wait_to_vote_slot: Option<Slot>,
|
||||
) {
|
||||
if bank.is_empty() {
|
||||
inc_new_counter_info!("replay_stage-voted_empty_bank", 1);
|
||||
datapoint_info!("replay_stage-voted_empty_bank", ("slot", bank.slot(), i64));
|
||||
}
|
||||
trace!("handle votable bank {}", bank.slot());
|
||||
let new_root = tower.record_bank_vote(bank, vote_account_pubkey);
|
||||
|
@ -2770,7 +2769,6 @@ impl ReplayStage {
|
|||
}
|
||||
}
|
||||
|
||||
inc_new_counter_info!("replay_stage-replay_transactions", tx_count);
|
||||
did_complete_bank
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue