aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/stats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-06 06:58:48 +0100
committertv <tv@krebsco.de>2026-11-06 06:58:48 +0100
commit19461552f88e8b82a24c63c00a6591996ae8f45d (patch)
tree14b095388f5751cde36e452bc502262f223cd3df /src/api/stats
parentb4948712867819c20efcf2d4eb06ee9272196695 (diff)
trees at runtime
Diffstat (limited to 'src/api/stats')
-rw-r--r--src/api/stats/prometheus.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/api/stats/prometheus.rs b/src/api/stats/prometheus.rs
index fb8b890..8b8ca1c 100644
--- a/src/api/stats/prometheus.rs
+++ b/src/api/stats/prometheus.rs
@@ -669,6 +669,18 @@ pub(super) fn render(stats: &StatsResponse, list: &PeerListResponse) -> String {
relay.tree_forwards as f64,
);
out.single(
+ "tree_from_others_total",
+ "counter",
+ "Sync messages along a writer's tree, carrying changes, from a peer other than our parent in it.",
+ relay.tree_from_others as f64,
+ );
+ out.single(
+ "tree_missed_total",
+ "counter",
+ "Changes of writers in whose trees we have a parent that came another way.",
+ relay.tree_missed as f64,
+ );
+ out.single(
"blob_requests_dropped_total",
"counter",
"Blob requests not answered: too many were being answered.",