aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/stats/prometheus.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-27 01:31:58 +0100
committertv <tv@krebsco.de>2026-10-27 01:31:58 +0100
commit3b2773500379d14c7611eacc62c4709c1b406fd3 (patch)
treebad0207aa9952da3bf6bad28eebecf7415334bc4 /src/api/stats/prometheus.rs
parentdecb48c0f6d41539436422ec7e5cef9bc01738e9 (diff)
add identity layer
Diffstat (limited to 'src/api/stats/prometheus.rs')
-rw-r--r--src/api/stats/prometheus.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/stats/prometheus.rs b/src/api/stats/prometheus.rs
index f9eb3bf..8d31eb0 100644
--- a/src/api/stats/prometheus.rs
+++ b/src/api/stats/prometheus.rs
@@ -172,6 +172,7 @@ fn traffic_series(traffic: &PeerTraffic) -> Vec<(&'static str, &'static str, Cou
(direction, "ping", by.ping),
(direction, "pong", by.pong),
(direction, "blob", by.blob),
+ (direction, "identity", by.identity),
]
};
let mut series = Vec::new();