Files
mtusi2026lab6/evidence/criteria/grade4-database.md
T

26 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Задержка PostgreSQL и восстановление
Предпосылки — локальный синтетический стенд после make app-up и доступ к Docker.
При блокировке таблицы растёт доля 5xx и алерт срабатывает. Задержку показывает дочерний спан PostgreSQL. После снятия блокировки алерт переходит в resolved.
Команда `/usr/bin/python3 scripts/check_observability_incidents.py --base-url http://127.0.0.1:8080 --grafana-url http://127.0.0.1:3000 database`. Код выхода **0**. Время 104.65 с.
[Вывод](runs/20261113T155722.910201Z/grade4-database-1.txt)
````text
MessengerHighErrorRate firing
pg_terminate_backend
----------------------
t
(1 row)
FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
connection to server was lost
Медленный запрос PostgreSQL подтверждён в trace: 624d2df384e6bb8e27ad11ca29a41d0b
MessengerHighErrorRate resolved
````