metrics: make metrics endpoint toggleable

This commit is contained in:
Nico Rey 2022-02-25 18:36:03 -03:00
parent a9122c3de3
commit 06e6c29a5b
8 changed files with 38 additions and 18 deletions

View file

@ -14,6 +14,7 @@ dns_config:
db_path: /tmp/integration_test_db.sqlite3
private_key_path: private.key
listen_addr: 0.0.0.0:8080
metrics_enabled: true
metrics_listen_addr: 127.0.0.1:9915
server_url: http://headscale:8080