diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:22:44 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:22:44 +0900 |
| commit | 4e6ae373b6abc7ef0d5fb810385d14250757f3f1 (patch) | |
| tree | a26fa4465308fe3996b4a8b91aead9132c899941 /monitoring/prometheus.yml | |
| parent | 538749d0daa43ec94c48cdf35110d19c39e3c896 (diff) | |
feat(security): add bearer token auth for health/metrics endpoints
Diffstat (limited to 'monitoring/prometheus.yml')
| -rw-r--r-- | monitoring/prometheus.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/monitoring/prometheus.yml b/monitoring/prometheus.yml index f6d5485..b6dc853 100644 --- a/monitoring/prometheus.yml +++ b/monitoring/prometheus.yml @@ -2,6 +2,9 @@ global: scrape_interval: 15s scrape_configs: - job_name: "trading-services" + authorization: + type: Bearer + credentials: "${METRICS_AUTH_TOKEN}" static_configs: - targets: - "data-collector:8080" |
