aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-08-29 16:53:23 -0500
committerGitHub <noreply@github.com>2022-08-29 16:53:23 -0500
commit3b84bc0fb84069491aa6a801c710b3c264563a97 (patch)
treec18afa5445065a99e4a5c1d990189e5f39a88dfb /config
parent0085fa79cbe0b2589abc9ca6a99c367ff5ff0fd5 (diff)
parentd7520caa80629ea0821d936ebf2f236e14f89abe (diff)
downloadslskd-3b84bc0fb84069491aa6a801c710b3c264563a97.tar.gz
Merge pull request #619 from slskd/metrics-auth
Refactor Prometheus implementation and add basic authentication for the /metrics endpoint
Diffstat (limited to 'config')
-rw-r--r--config/slskd.example.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml
index 47404794..7038c576 100644
--- a/config/slskd.example.yml
+++ b/config/slskd.example.yml
@@ -76,8 +76,14 @@
# ttl: 604800000
# logger:
# loki: ~
+# metrics:
+# enabled: false
+# url: /metrics
+# authentication:
+# disabled: false
+# username: slskd
+# password: slskd
# feature:
-# prometheus: false
# swagger: false
# soulseek:
# username: ~