Files
homelab-infra/apps/dawarich/prometheus-scrape.snippet.yml
T

18 lines
628 B
YAML

# 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
scheme: https
authorization:
type: Basic
credentials_file: /run/secrets/dawarich_metrics_basic_auth
static_configs:
- targets:
- dawarich.kaleschke.info