Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
143 lines
3.4 KiB
JSON
143 lines
3.4 KiB
JSON
{
|
|
"controlled_request": {
|
|
"trace_id": "8461974b8914ca8c5a34e08e3e4b7750",
|
|
"request_id": "94712dff-a1c8-4f1c-adb1-ca79a23f1787",
|
|
"spans": [
|
|
{
|
|
"service": "messenger-api",
|
|
"kind": "SERVER",
|
|
"name": "POST /api/v1/chats/{id}/messages",
|
|
"ms": 13.3,
|
|
"status": "UNSET"
|
|
},
|
|
{
|
|
"service": "messenger-api",
|
|
"kind": "CLIENT",
|
|
"name": "GET",
|
|
"ms": 0.6,
|
|
"status": "UNSET"
|
|
},
|
|
{
|
|
"service": "messenger-api",
|
|
"kind": "CLIENT",
|
|
"name": "SELECT messenger",
|
|
"ms": 0.3,
|
|
"status": "UNSET"
|
|
},
|
|
{
|
|
"service": "messenger-api",
|
|
"kind": "CLIENT",
|
|
"name": "INSERT messenger.idempotency_keys",
|
|
"ms": 0.6,
|
|
"status": "UNSET"
|
|
},
|
|
{
|
|
"service": "messenger-api",
|
|
"kind": "CLIENT",
|
|
"name": "INSERT messenger.messages",
|
|
"ms": 1.1,
|
|
"status": "UNSET"
|
|
}
|
|
],
|
|
"logs": [
|
|
{
|
|
"ts": "1793396891770396773",
|
|
"line": "POST /api/v1/chats/{id}/messages -> 201 in 12 ms",
|
|
"event": "http.request",
|
|
"severity_text": "INFO",
|
|
"trace_id": "8461974b8914ca8c5a34e08e3e4b7750",
|
|
"span_id": "7d5500ec633602f8",
|
|
"request_id": "94712dff-a1c8-4f1c-adb1-ca79a23f1787",
|
|
"http_route": "/api/v1/chats/{id}/messages",
|
|
"http_response_status_code": "201"
|
|
}
|
|
]
|
|
},
|
|
"upload_with_retry": {
|
|
"trace_id": "0a4cc3901adee435a0471add15968a77",
|
|
"attachment_status": "ready",
|
|
"chain": [
|
|
{
|
|
"service": "messenger-api",
|
|
"kind": "SERVER",
|
|
"name": "POST /api/v1/chats/{id}/attachments",
|
|
"parent": null,
|
|
"ms": 57.2,
|
|
"status": "UNSET"
|
|
},
|
|
{
|
|
"service": "messenger-api",
|
|
"kind": "PRODUCER",
|
|
"name": "attachments publish",
|
|
"parent": "POST /api/v1/chats/{id}/attachments",
|
|
"ms": 1.9,
|
|
"status": "UNSET"
|
|
},
|
|
{
|
|
"service": "messenger-worker",
|
|
"kind": "CONSUMER",
|
|
"name": "attachments.process process",
|
|
"parent": "attachments publish",
|
|
"ms": 116.2,
|
|
"status": "STATUS_CODE_ERROR",
|
|
"job.attempt": "1",
|
|
"job.outcome": "retry"
|
|
},
|
|
{
|
|
"service": "messenger-worker",
|
|
"kind": "PRODUCER",
|
|
"name": "attachments publish",
|
|
"parent": "attachments.process process",
|
|
"ms": 8.1,
|
|
"status": "UNSET"
|
|
},
|
|
{
|
|
"service": "messenger-worker",
|
|
"kind": "CONSUMER",
|
|
"name": "attachments.process process",
|
|
"parent": "attachments publish",
|
|
"ms": 163.6,
|
|
"status": "UNSET",
|
|
"job.attempt": "2",
|
|
"job.outcome": "done"
|
|
}
|
|
],
|
|
"worker_effect_spans": [
|
|
"INSERT messenger.attachment_variants",
|
|
"INSERT messenger.job_audit",
|
|
"INSERT messenger.outbox",
|
|
"S3.CopyObject",
|
|
"S3.DeleteObject",
|
|
"S3.GetObject",
|
|
"S3.HeadObject",
|
|
"S3.PutObject",
|
|
"UPDATE messenger.attachments",
|
|
"UPDATE messenger.jobs"
|
|
],
|
|
"logs": [
|
|
{
|
|
"event": "http.request",
|
|
"severity_text": "INFO",
|
|
"line": "POST /api/v1/chats/{id}/attachments -> 202 in 54 ms",
|
|
"span_id": "e0f77957eeff84f5"
|
|
},
|
|
{
|
|
"event": "job.done",
|
|
"severity_text": "INFO",
|
|
"line": "job 70d78d27-d995-4c90-a747-330481717138 attempt 2 done: attachment 4ecc20d9-4f98-4a39-82c1-4d3a2710e381 v1",
|
|
"span_id": "3c3f5c2b536d5828"
|
|
},
|
|
{
|
|
"event": "job.retry",
|
|
"severity_text": "WARN",
|
|
"line": "job 70d78d27-d995-4c90-a747-330481717138 attempt 1 failed: java.io.IOException: injected transient fault, attempt 1 only",
|
|
"span_id": "1e612c3539aa180c"
|
|
}
|
|
]
|
|
},
|
|
"leak_check": {
|
|
"message_text_in_logs_or_traces": 0,
|
|
"session_token_in_logs_or_traces": 0,
|
|
"message_text_in_loki_all_logs": 0
|
|
}
|
|
} |