aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/stats/prometheus.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-03 06:11:06 +0100
committertv <tv@krebsco.de>2026-11-03 06:11:06 +0100
commitb16977b18fdd1e5193f5c015eadcb61a63f4fae1 (patch)
tree197a9fb7c0c0f5d5b799ecc3f3363c628a4f5e12 /src/api/stats/prometheus.rs
parent698ab19bb74e1dbbc7c52fef96caede4d92caf55 (diff)
announcement round counters
Diffstat (limited to 'src/api/stats/prometheus.rs')
-rw-r--r--src/api/stats/prometheus.rs12
1 files changed, 12 insertions, 0 deletions
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
@@ -639,6 +639,18 @@ pub(super) fn render(stats: &StatsResponse, list: &PeerListResponse) -> String {
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",
"Pulls of changes we lacked, started.",