Собрать наблюдаемый стенд, чтобы причину деградации API и worker было видно по метрикам, логам и трассам.

This commit is contained in:
2026-11-07 01:36:19 +03:00
parent 470d9d6f1e
commit 7d4e1237a3
56 changed files with 4419 additions and 53 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"trace_id": "cf5025ad9d9a2a248da8335a0c6caee2",
"log": {
"job.retry": {"attempt": 1, "same_trace": true},
"job.ready": {"attempt": 2, "same_trace": true}
},
"chain": [
"POST /api/v1/chats/{chat_id}/attachments",
"attachment.process publish parent=POST",
"attachment.process consume (attempt 1, injected transient) parent=publish",
"attachment.process consume (attempt 2) parent=publish",
"s3.get and s3.put parent=second consume",
"db.transaction parent=POST and parent=consume"
],
"note": "Both consumer spans share the producer span as parent. No message text, filename, or object key is stored here."
}