diff --git a/prometheus.yml b/prometheus.yml index 0171973..1245631 100644 --- a/prometheus.yml +++ b/prometheus.yml @@ -7,7 +7,7 @@ scrape_configs: metrics_path: /monitoring/metrics # Add the api key to the GET params. params: - api_key: [''] + api_key: ['TRACKING_SERVICE_API_KEY'] static_configs: - targets: ['tracking-service:8000'] - job_name: 'predictor-nginx' @@ -32,6 +32,6 @@ scrape_configs: metrics_path: /crashReports/metrics # Add the api key to the GET params. params: - api_key: [''] + api_key: ['BIKER_SWARM_MONITOR_API_KEY'] static_configs: - targets: ['biker-swarm-monitor:8000'] \ No newline at end of file