summaryrefslogtreecommitdiff
path: root/monitoring/prometheus.yml
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-02 16:07:20 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-02 16:07:20 +0900
commit86a0fa84ca6662ca931182880523c0b87f617f73 (patch)
treef483d39698849a6d4cdbd4c79979217f05be78be /monitoring/prometheus.yml
parent4747400168279c6cfc1196d86ec77b5d7b513c61 (diff)
fix: add session lock in StockSelector, remove unused HEALTH_PORT_OFFSET, lint fixesHEADmaster
- Add asyncio.Lock to StockSelector._ensure_session() to prevent race condition - Remove unused HEALTH_PORT_OFFSET constant from news-collector - Auto-fix import sorting and formatting from ruff
Diffstat (limited to 'monitoring/prometheus.yml')
-rw-r--r--monitoring/prometheus.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/monitoring/prometheus.yml b/monitoring/prometheus.yml
index b6dc853..e177c9c 100644
--- a/monitoring/prometheus.yml
+++ b/monitoring/prometheus.yml
@@ -1,5 +1,7 @@
global:
scrape_interval: 15s
+rule_files:
+ - "/etc/prometheus/alert_rules.yml"
scrape_configs:
- job_name: "trading-services"
authorization: