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: