fix(metrics): prometheus password file

This commit is contained in:
2026-03-14 20:15:02 +01:00
parent 63fc35c62c
commit 1f0ba1cd08

View File

@@ -6,8 +6,8 @@ scrape_configs:
- job_name: web - job_name: web
metrics_path: /api/metrics metrics_path: /api/metrics
basic_auth: basic_auth:
username: /etc/prometheus/web_username username: prometheus
password: /etc/prometheus/web_password password_file: /etc/prometheus/web_password
static_configs: static_configs:
- targets: - targets:
- hctv:3000 - hctv:3000
@@ -15,8 +15,8 @@ scrape_configs:
- job_name: chat - job_name: chat
metrics_path: /metrics metrics_path: /metrics
basic_auth: basic_auth:
username: ${METRICS_USER} username: prometheus
password: ${METRICS_PASS} password_file: /etc/prometheus/web_password
static_configs: static_configs:
- targets: - targets:
- chat:8000 - chat:8000