forked from mtusi2026/mtusi2026lab6
Добавил наблюдаемость: OpenTelemetry, Prometheus, Loki, Tempo, Grafana
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
2) database lock on messages: ApiHighErrorRate firing after 52s; 5xx ratio=0.47 only on ['/api/v1/chats/{chat_id}/messages']; p99=4.9s; pool used=0.0 acquire wait=0.01 s/s
|
||||
diagnosis from stored data: error trace 17a3258b1897cd36f88418fb1adc23c5, server span 3006 ms, child "db INSERT" 2997 ms (100%) with status error, handler has no other slow child; requests: {503: 52, 201: 164}
|
||||
restored: lock released, alert resolved after 40s
|
||||
PASS: slow database detected by alert and diagnosed from telemetry
|
||||
Reference in New Issue
Block a user