From db886c9eb28ba304e949a1c470a8e5ef5d26c2fd Mon Sep 17 00:00:00 2001 From: Micha Date: Sun, 21 Jun 2026 22:47:51 +0200 Subject: [PATCH] Send forwarded proto for Dawarich metrics --- apps/dawarich/prometheus-scrape.snippet.yml | 4 ++++ monitoring/prometheus/prometheus.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/apps/dawarich/prometheus-scrape.snippet.yml b/apps/dawarich/prometheus-scrape.snippet.yml index 7e0718b..a35afaf 100644 --- a/apps/dawarich/prometheus-scrape.snippet.yml +++ b/apps/dawarich/prometheus-scrape.snippet.yml @@ -13,6 +13,10 @@ basic_auth: username: prometheus password_file: /run/secrets/dawarich_metrics_password + http_headers: + X-Forwarded-Proto: + values: + - https static_configs: - targets: - dawarich_app:3000 diff --git a/monitoring/prometheus/prometheus.yml b/monitoring/prometheus/prometheus.yml index 160f418..86dc6ce 100644 --- a/monitoring/prometheus/prometheus.yml +++ b/monitoring/prometheus/prometheus.yml @@ -41,6 +41,10 @@ scrape_configs: basic_auth: username: prometheus password_file: /run/secrets/dawarich_metrics_password + http_headers: + X-Forwarded-Proto: + values: + - https static_configs: # Dawarich >= 1.7.7 serves aggregated web + Sidekiq metrics here. - targets: