Добавил наблюдаемость: OpenTelemetry, Prometheus, Loki, Tempo, Grafana

This commit is contained in:
gera
2026-11-19 23:10:55 +03:00
parent 470d9d6f1e
commit 4adc6c58c8
77 changed files with 8031 additions and 16 deletions
+4
View File
@@ -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