metrics: Prometheus endpoint on its own --metrics listener; the pod exposes it inside the cluster only
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
@@ -555,6 +555,11 @@ first, then through a relay; none for loopback and private ones) and prints
|
||||
when the built-in bootstrap name is down. The web UI shows the same under
|
||||
"Invite someone" (`#/invite`, in the menu once the owner has signed in).
|
||||
|
||||
`run --metrics ADDR` serves Prometheus metrics on a listener of its own (off by
|
||||
default; no login, so not on a public address): peers, peers per followed
|
||||
region, listings held, gossip dropped or rejected, peers banned, sync requests
|
||||
and connections refused, Go memory (`internal/api/metrics.go`).
|
||||
|
||||
`run` also takes `--no-default-bootstrap`, `--no-dht` and `--no-mdns`, and keeps
|
||||
the peers it has met in `peers.json` next to its keys.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user