Send forwarded proto for Dawarich metrics

This commit is contained in:
2026-06-21 22:47:51 +02:00
parent 2a342614db
commit db886c9eb2
2 changed files with 8 additions and 0 deletions
@@ -13,6 +13,10 @@
basic_auth: basic_auth:
username: prometheus username: prometheus
password_file: /run/secrets/dawarich_metrics_password password_file: /run/secrets/dawarich_metrics_password
http_headers:
X-Forwarded-Proto:
values:
- https
static_configs: static_configs:
- targets: - targets:
- dawarich_app:3000 - dawarich_app:3000
+4
View File
@@ -41,6 +41,10 @@ scrape_configs:
basic_auth: basic_auth:
username: prometheus username: prometheus
password_file: /run/secrets/dawarich_metrics_password password_file: /run/secrets/dawarich_metrics_password
http_headers:
X-Forwarded-Proto:
values:
- https
static_configs: static_configs:
# Dawarich >= 1.7.7 serves aggregated web + Sidekiq metrics here. # Dawarich >= 1.7.7 serves aggregated web + Sidekiq metrics here.
- targets: - targets: