mirror of
https://github.com/netbirdio/docs.git
synced 2026-10-18 11:39:03 +02:00
Document the client local metrics endpoint (#952)
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user