feat: add SLOs, Prometheus alert rules and telemetry loss accounting

HAProxy /metrics scraped by the Collector, recording rules and seven alerts with promtool tests and runbooks (make alerts_test, CI step), byte-sized Collector export queues with 30 s retries, SDK internal metrics, SLO/LB/pipeline dashboard rows, driver commands alerts-check and backend-outage (change slo-alerts).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-12 00:35:01 +03:00
co-authored by Claude Opus 5.5
parent 839433c23b
commit 15ea156404
33 changed files with 4764 additions and 176 deletions
+6
View File
@@ -108,6 +108,12 @@ jobs:
# на хосте, в CI его нет (design change unit-of-work, решение 13)
run: make service_test
- name: make alerts_test
# правила Prometheus без стенда и без сети (design change slo-alerts,
# решение 11): файлы — tar в одноразовый контейнер образа Prometheus,
# bind mount job не видит
run: make alerts_test
- name: make student_test
# через LB: тесты реплик выполняются, проверки отказов — нет
run: make student_test