mirror of
https://github.com/juanfont/headscale.git
synced 2026-01-23 02:24:10 +00:00
Document how to disable the metrics interfaces
This commit is contained in:
parent
3689f05407
commit
7d81dca9aa
2 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ listen_addr: 127.0.0.1:8080
|
||||||
|
|
||||||
# Address to listen to /metrics and /debug, you may want
|
# Address to listen to /metrics and /debug, you may want
|
||||||
# to keep this endpoint private to your internal network
|
# to keep this endpoint private to your internal network
|
||||||
|
# Use an emty value to disable the metrics listener.
|
||||||
metrics_listen_addr: 127.0.0.1:9090
|
metrics_listen_addr: 127.0.0.1:9090
|
||||||
|
|
||||||
# Address to listen for gRPC.
|
# Address to listen for gRPC.
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,9 @@ Headscale provides a metrics and debug endpoint. It allows to introspect differe
|
||||||
|
|
||||||
Keep the metrics and debug endpoint private to your internal network and don't expose it to the Internet.
|
Keep the metrics and debug endpoint private to your internal network and don't expose it to the Internet.
|
||||||
|
|
||||||
|
The metrics and debug interface can be disabled completely by setting `metrics_listen_addr: null` in the
|
||||||
|
[configuration file](./configuration.md).
|
||||||
|
|
||||||
Query metrics via <http://localhost:9090/metrics> and get an overview of available debug information via
|
Query metrics via <http://localhost:9090/metrics> and get an overview of available debug information via
|
||||||
<http://localhost:9090/debug/>. Metrics may be queried from outside localhost but the debug interface is subject to
|
<http://localhost:9090/debug/>. Metrics may be queried from outside localhost but the debug interface is subject to
|
||||||
additional protection despite listening on all interfaces.
|
additional protection despite listening on all interfaces.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue