14 lines
721 B
Plaintext
14 lines
721 B
Plaintext
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.
|