Make the metrics page configurable

Make the metrics page configurable with an `ip_filter`.

This closes #10.
This commit is contained in:
finga 2021-11-09 14:50:02 +01:00
parent f0f1d3239d
commit f24a786ec6
3 changed files with 222 additions and 43 deletions

View file

@ -1,4 +1,9 @@
---
metrics:
enabled: true
ip_filter:
deny:
- 127.0.0.1
hooks:
hook1:
command: /usr/bin/local/script_xy.sh {{ /field2/foo }} asdfasdf