Scrape Dawarich metrics over HTTPS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user