Document the client local metrics endpoint (#952)

This commit is contained in:
Viktor Liu
2026-09-16 17:37:26 +02:00
committed by GitHub
parent e1e836e00e
commit a2719629fc
5 changed files with 140 additions and 3 deletions
+7
View File
@@ -52,3 +52,10 @@ The `NB_METRICS_PUSH_ENABLED` environment variable on the client takes precedenc
You can additionally set `NB_METRICS_INTERVAL` to a duration value (e.g., `30m`, `1h`) to override how often metrics
are pushed.
## Scraping metrics locally
Independently of metrics push, a client can expose the same connection stage, sync, and login metrics, plus live
connectivity and per-peer latency gauges, on a local Prometheus endpoint that you scrape yourself. The data never
leaves the machine unless your own scraper collects it. See
[Local Metrics Endpoint](/client/local-metrics).