From 4e6ae373b6abc7ef0d5fb810385d14250757f3f1 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 1 Apr 2026 17:22:44 +0900 Subject: feat(security): add bearer token auth for health/metrics endpoints --- monitoring/prometheus.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'monitoring/prometheus.yml') 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" -- cgit v1.2.3