more metrics for prometheus

This commit is contained in:
xunuwu 2025-06-19 04:48:05 +02:00
parent 2621dfa7f5
commit 71153b4e28
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
6 changed files with 67 additions and 11 deletions

View file

@ -21,7 +21,9 @@ in {
services.caddy = {
enable = true;
globalConfig = ''
metrics
metrics {
per_host
}
servers {
trusted_proxies static 10.0.0.1
}