From b16977b18fdd1e5193f5c015eadcb61a63f4fae1 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 3 Nov 2026 06:11:06 +0100 Subject: announcement round counters --- src/api/stats/prometheus.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/api/stats') diff --git a/src/api/stats/prometheus.rs b/src/api/stats/prometheus.rs index 03643ee..5b1fc8c 100644 --- a/src/api/stats/prometheus.rs +++ b/src/api/stats/prometheus.rs @@ -638,6 +638,18 @@ pub(super) fn render(stats: &StatsResponse, list: &PeerListResponse) -> String { "Announcement rounds (our new heads to the neighbours).", relay.announce_rounds as f64, ); + out.single( + "treeless_rounds_total", + "counter", + "Of the announcement rounds, quick ones to all neighbours: some change had no writer's tree.", + relay.treeless_rounds as f64, + ); + out.single( + "slow_rounds_total", + "counter", + "Of the announcement rounds, slow ones after changes passed on along writers' trees.", + relay.slow_rounds as f64, + ); out.single( "pulls_total", "counter", -- cgit v1.3.1