Send forwarded proto for Dawarich metrics
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user