aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/stats.rs2
-rw-r--r--src/api/stats/prometheus.rs6
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;