Files
mtusi2026lab6/evidence/runbooks/high-error-rate.md
T

9 lines
890 B
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.
# Runbook: HighHttpErrorRate
1. Открой dashboard `Messenger observability` в Grafana на `http://127.0.0.1:3000`.
2. Смотри панель «API error ratio» и «API latency». Если растут только 5xx, это не клиентские 4xx.
3. В Tempo найди свежие spans `messenger-api` со status ERROR. По `http.route` отдели бизнес-маршруты от `/health/*`.
4. По `trace_id` из лога Loki (`{service_name="messenger-api"} |= "http_request"`) открой связанный trace.
5. Если в spans много ошибок psycopg/timeout — смотри Postgres и панель DB pool. Если ошибки только на upload — смотри MinIO и worker.
6. После восстановления убедись, что alert перешёл в `resolved`, а error ratio снова ниже 5%.