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