forked from mtusi2026/mtusi2026lab6
Собрать наблюдаемый стенд, чтобы причину деградации API и worker было видно по метрикам, логам и трассам.
This commit is contained in:
@@ -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."
|
||||
}
|
||||
Reference in New Issue
Block a user