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

@ -16,6 +16,9 @@ server_url: http://127.0.0.1:8080
#
listen_addr: 0.0.0.0:8080
# Enable Prometheus metrics endpoint
metrics_enabled: true
# Address to listen to /metrics, you may want
# to keep this endpoint private to your internal
# network