# Dawarich 1.8.1 serves the Prometheus endpoint on the web service at # /metrics. Port 9394 is the internal Sidekiq metrics endpoint consumed by # dawarich_app via SIDEKIQ_METRICS_URL. # # Prerequisites in monitoring/docker-compose.yml: # - 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 basic_auth: username: prometheus password_file: /run/secrets/dawarich_metrics_password http_headers: X-Forwarded-Proto: values: - https static_configs: - targets: - dawarich_app:3000