diff options
| author | tv <tv@krebsco.de> | 2026-11-05 00:46:06 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-05 00:46:06 +0100 |
| commit | 85c6a9a2ddeaf23066ddfa3362693604a37526ae (patch) | |
| tree | 068a8dc4c24f5c64ad110d146dcd504718673eec /src/api | |
| parent | 4bb6282d6c439c40bceb3024afbc875f14aa4a9b (diff) | |
drop full mesh stat
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/stats.rs | 2 | ||||
| -rw-r--r-- | src/api/stats/prometheus.rs | 6 |
2 files changed, 0 insertions, 8 deletions
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; |
