aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/stats.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-03 05:21:25 +0100
committertv <tv@krebsco.de>2026-11-03 05:21:25 +0100
commit8366f7c5de474753dbfbf88431917e79c15e5389 (patch)
tree8c3ed8cca74760ff98b58264843765a3d8e65d3b /src/api/stats.rs
parent96d7744dd29a3c783b43a7a6697af7d5d5719a10 (diff)
replace eager links by trees
Diffstat (limited to 'src/api/stats.rs')
-rw-r--r--src/api/stats.rs11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/api/stats.rs b/src/api/stats.rs
index 9ac2c94..96e8ad3 100644
--- a/src/api/stats.rs
+++ b/src/api/stats.rs
@@ -140,11 +140,8 @@ struct RelayStats {
pulls: u64,
/// Announcements of heads we lacked that waited for the pull in progress.
pulls_queued: u64,
- /// Links made eager, and lazy again (`swarm::relay`).
- grafts: u64,
- prunes: u64,
- /// Changes forwarded over eager links, per neighbour.
- eager_forwards: u64,
+ /// Changes passed on along writers' trees, per child (`swarm::tree`).
+ tree_forwards: u64,
/// Blob requests not answered: too many were being answered.
blob_requests_dropped: u64,
}
@@ -345,9 +342,7 @@ pub(crate) async fn collect(state: &AppState, list: &PeerListResponse) -> StatsR
announce_rounds: node.relay.announce_rounds,
pulls: node.relay.pulls,
pulls_queued: node.relay.pulls_queued,
- grafts: node.relay.grafts,
- prunes: node.relay.prunes,
- eager_forwards: node.relay.eager_forwards,
+ tree_forwards: node.relay.tree_forwards,
blob_requests_dropped: node.blob_requests_dropped,
},
topology: TopologyStats {