aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/stats.rs
diff options
context:
space:
mode:
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 {