aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/stats
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/stats')
-rw-r--r--src/api/stats/prometheus.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/api/stats/prometheus.rs b/src/api/stats/prometheus.rs
index 0a1d75d..3d4bcc6 100644
--- a/src/api/stats/prometheus.rs
+++ b/src/api/stats/prometheus.rs
@@ -651,6 +651,24 @@ pub(super) fn render(stats: &StatsResponse, list: &PeerListResponse) -> String {
relay.pulls_queued as f64,
);
out.single(
+ "grafts_total",
+ "counter",
+ "Links made eager: a pull brought changes over them.",
+ relay.grafts as f64,
+ );
+ out.single(
+ "prunes_total",
+ "counter",
+ "Links made lazy again: changes came over them that another path brought first.",
+ relay.prunes as f64,
+ );
+ out.single(
+ "eager_forwards_total",
+ "counter",
+ "Changes forwarded over eager links, per neighbour.",
+ relay.eager_forwards as f64,
+ );
+ out.single(
"blob_requests_dropped_total",
"counter",
"Blob requests not answered: too many were being answered.",