summaryrefslogtreecommitdiffstats
path: root/src/api/stats
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/stats')
-rw-r--r--src/api/stats/prometheus.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/api/stats/prometheus.rs b/src/api/stats/prometheus.rs
index 8d31eb0..01cd271 100644
--- a/src/api/stats/prometheus.rs
+++ b/src/api/stats/prometheus.rs
@@ -190,15 +190,11 @@ pub(super) async fn render(state: &AppState, stats: &StatsResponse) -> String {
// Names for joining (`* on(peer) group_left(alias) continuum_peer_info`), kept out
// of the other series so a rename doesn't start new ones.
- out.family(
- "info",
- "gauge",
- "This node's public key and alias (always 1).",
- );
+ out.family("info", "gauge", "This node's node ID and alias (always 1).");
out.sample(
"info",
&[
- ("public_key", &stats.public_key),
+ ("node_id", &stats.node_id),
("alias", stats.alias.as_deref().unwrap_or("")),
],
1.0,