diff --git a/core/src/replay_stage.rs b/core/src/replay_stage.rs index 5cce8dca53..9fa1f60a35 100644 --- a/core/src/replay_stage.rs +++ b/core/src/replay_stage.rs @@ -217,6 +217,10 @@ impl ReplayStage { next_leader ); poh_recorder.lock().unwrap().set_bank(&tpu_bank); + inc_new_counter_info!( + "replay_stage-new_leader", + tpu_bank.slot() as usize + ); } } }) diff --git a/metrics/testnet-monitor.json b/metrics/testnet-monitor.json index a04003608d..678570d469 100644 --- a/metrics/testnet-monitor.json +++ b/metrics/testnet-monitor.json @@ -1412,7 +1412,7 @@ } ], "thresholds": "", - "title": "Last Leader Rotation Tick", + "title": "Last Leader Rotation Slot", "type": "singlestat", "valueFontSize": "70%", "valueMaps": [