mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
fix(metrics): prometheus password file
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user