Лаб7: mTLS, Argon2id, OpenBao и исследование отзыва worker
Application / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

Майорова Софья, БВТ2301, на 5. Трек1. HTTPS/TLS/ACL,18 API tests,13 pipeline groups,3 compromise runs,clean clone,persistence. Original tests/API contract preserved; residual CVE triage in REPORT/security.
This commit is contained in:
2026-11-20 14:48:26 +03:00
parent 20afc2c790
commit 7353ab97a6
120 changed files with 12575 additions and 103 deletions
+27
View File
@@ -0,0 +1,27 @@
groups:
- name: messenger
rules:
- alert: APIHighErrorRate
expr: sum(rate(http_server_requests_total{service_name="messenger-api",status_class="5xx"}[30s])) / clamp_min(sum(rate(http_server_requests_total{service_name="messenger-api"}[30s])), 0.001) > 0.05
for: 6s
labels:
severity: warning
annotations:
summary: API 5xx share exceeds 5 percent in the last 30 seconds
runbook: infra/RUNBOOK.md#api-errors
- alert: QueueLag
expr: max(queue_oldest_age_seconds{service_name="messenger-dispatcher"}) > 10 and max(queue_depth{service_name="messenger-dispatcher"}) > 0
for: 6s
labels:
severity: warning
annotations:
summary: Accepted unfinished image work older than 10 seconds
runbook: infra/RUNBOOK.md#queue-lag
- alert: QueueObservationUnavailable
expr: min(queue_observation_ok{service_name="messenger-dispatcher"}) == 0
for: 6s
labels:
severity: warning
annotations:
summary: Dispatcher cannot observe PostgreSQL backlog
runbook: infra/RUNBOOK.md#api-errors