Scrape Dawarich metrics over HTTPS

This commit is contained in:
2026-06-21 22:52:57 +02:00
parent db886c9eb2
commit 699b1f118e
3 changed files with 6 additions and 15 deletions
+2 -7
View File
@@ -3,20 +3,15 @@
# dawarich_app via SIDEKIQ_METRICS_URL.
#
# Prerequisites in monitoring/docker-compose.yml:
# - attach service `prometheus` to external `backend_net`
# - mount Docker secret/file `/mnt/user/appdata/secrets/dawarich_metrics_password.txt`
# into the Prometheus container at `/run/secrets/dawarich_metrics_password`
- job_name: dawarich
metrics_path: /metrics
scheme: http
scheme: https
basic_auth:
username: prometheus
password_file: /run/secrets/dawarich_metrics_password
http_headers:
X-Forwarded-Proto:
values:
- https
static_configs:
- targets:
- dawarich_app:3000
- dawarich.kaleschke.info