From 85c6a9a2ddeaf23066ddfa3362693604a37526ae Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 5 Nov 2026 00:46:06 +0100 Subject: drop full mesh stat --- src/api/stats.rs | 2 -- src/api/stats/prometheus.rs | 6 ------ 2 files changed, 8 deletions(-) (limited to 'src/api') diff --git a/src/api/stats.rs b/src/api/stats.rs index 0bdb1b6..5061ff7 100644 --- a/src/api/stats.rs +++ b/src/api/stats.rs @@ -187,7 +187,6 @@ struct TopologyView { stable: usize, neighbours: usize, stable_neighbours: usize, - full_mesh: bool, } #[derive(Debug, Serialize)] @@ -359,7 +358,6 @@ pub(crate) async fn collect(state: &AppState, list: &PeerListResponse) -> StatsR stable: s.stable, neighbours: s.neighbours, stable_neighbours: s.stable_neighbours, - full_mesh: s.full_mesh, }), }, stability: StabilityStats { diff --git a/src/api/stats/prometheus.rs b/src/api/stats/prometheus.rs index 5b1fc8c..595466a 100644 --- a/src/api/stats/prometheus.rs +++ b/src/api/stats/prometheus.rs @@ -713,12 +713,6 @@ pub(super) fn render(stats: &StatsResponse, list: &PeerListResponse) -> String { "Current neighbours with the stable tier.", view.stable_neighbours as f64, ); - out.single( - "full_mesh", - "gauge", - "1 while every reachable member is a neighbour.", - flag(view.full_mesh), - ); } let stability = &stats.stability; -- cgit v1.3.1