This commit is contained in:
Vladislav Kunetskiy
2026-11-05 20:21:39 +03:00
parent edc2a405ee
commit 71fbb4b321
129 changed files with 10027 additions and 170 deletions
+13
View File
@@ -0,0 +1,13 @@
PostgreSQL pause (short burst) — local check
=============================================
$ docker compose --env-file .env pause postgres
$ python3 scripts/lab6_load.py --rate 1 --duration 8 --upload-ratio 0 --deadline 5
messages were attempted during a frozen DB; client deadline errors are bad.
$ sum(rate(haproxy_frontend_http_responses_total{proxy="http_front",code=~"5.."}[1m]))
-> 0.017002102915598543
$ slo:api_error_ratio:5m -> 0
$ docker compose --env-file .env unpause postgres
$ make test -> PASS lab6 public API scenario
$ Prometheus alerts -> []
Interpretation: a short sub-5m burst is below the multi-window page threshold;
this is the expected no-page control, not evidence of a sustained incident.