{ "trace_id": "a630912396b64101b293cc306ee44ed8", "request_id": "cb06618bb089444e8958f45beb2a8d1f", "status": "ready", "consumer_parent_matches_producer": true, "producer_descends_from_upload": true, "api_worker_logs_correlated": true, "secret_canaries_absent": true, "metric_labels_allowlisted": true, "trace": { "batches": [ { "resource": { "attributes": [ { "key": "telemetry.sdk.language", "value": { "stringValue": "python" } }, { "key": "telemetry.sdk.name", "value": { "stringValue": "opentelemetry" } }, { "key": "telemetry.sdk.version", "value": { "stringValue": "1.36.0" } }, { "key": "service.name", "value": { "stringValue": "messenger-dispatcher" } }, { "key": "service.version", "value": { "stringValue": "lab6.1" } }, { "key": "service.instance.id", "value": { "stringValue": "6b019c7baab14c89976d2b4081f1c509" } }, { "key": "deployment.environment.name", "value": { "stringValue": "lab" } } ] }, "scopeSpans": [ { "scope": { "name": "messenger" }, "spans": [ { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "1X47WVGmwVA=", "parentSpanId": "XoCVQvOw3eM=", "flags": 768, "name": "attachment publish", "kind": "SPAN_KIND_PRODUCER", "startTimeUnixNano": "1795164306352857288", "endTimeUnixNano": "1795164306353855758", "attributes": [ { "key": "messaging.system", "value": { "stringValue": "redis" } }, { "key": "messaging.destination.name", "value": { "stringValue": "attachment-jobs" } } ], "status": {} } ] } ] }, { "resource": { "attributes": [ { "key": "telemetry.sdk.language", "value": { "stringValue": "python" } }, { "key": "telemetry.sdk.name", "value": { "stringValue": "opentelemetry" } }, { "key": "telemetry.sdk.version", "value": { "stringValue": "1.36.0" } }, { "key": "service.name", "value": { "stringValue": "messenger-worker" } }, { "key": "service.version", "value": { "stringValue": "lab6.1" } }, { "key": "service.instance.id", "value": { "stringValue": "c474b80aef4f42b1ba83aa52fc227420" } }, { "key": "deployment.environment.name", "value": { "stringValue": "lab" } } ] }, "scopeSpans": [ { "scope": { "name": "messenger" }, "spans": [ { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "jpUcOdrK9v8=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "db.transaction", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306353943301", "endTimeUnixNano": "1795164306358874754", "attributes": [ { "key": "db.system", "value": { "stringValue": "postgresql" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "uqFoOGdo/j8=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.head_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306361469707", "endTimeUnixNano": "1795164306363607190", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "head_object" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "Djfujh2+aLk=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.get_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306363643778", "endTimeUnixNano": "1795164306365315189", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "get_object" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "UqSD5a1Hm0M=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.head_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306502165196", "endTimeUnixNano": "1795164306504695870", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "head_object" } }, { "key": "error.type", "value": { "stringValue": "ClientError" } } ], "status": { "code": "STATUS_CODE_ERROR" } }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "FIWbTD1UmKU=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.put_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306504774140", "endTimeUnixNano": "1795164306509272099", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "put_object" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "sGmfWvZhAhE=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.head_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306509328359", "endTimeUnixNano": "1795164306510325785", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "head_object" } }, { "key": "error.type", "value": { "stringValue": "ClientError" } } ], "status": { "code": "STATUS_CODE_ERROR" } }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "cTvaoR1LX60=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.put_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306510386972", "endTimeUnixNano": "1795164306512247503", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "put_object" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "n7+0IIgeeOo=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.head_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306512289102", "endTimeUnixNano": "1795164306513273664", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "head_object" } }, { "key": "error.type", "value": { "stringValue": "ClientError" } } ], "status": { "code": "STATUS_CODE_ERROR" } }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "z5ewZlRmlSI=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.put_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306513330090", "endTimeUnixNano": "1795164306515021299", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "put_object" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "ThQkryD54tU=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.head_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306515051329", "endTimeUnixNano": "1795164306515871498", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "head_object" } }, { "key": "error.type", "value": { "stringValue": "ClientError" } } ], "status": { "code": "STATUS_CODE_ERROR" } }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "3F5tg5VjfcM=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.put_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306515917149", "endTimeUnixNano": "1795164306517590816", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "put_object" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "jRNKytkgcSc=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "db.transaction", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306517629032", "endTimeUnixNano": "1795164306523308482", "attributes": [ { "key": "db.system", "value": { "stringValue": "postgresql" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "EPrL86X8HKM=", "parentSpanId": "wUZSkS75RVs=", "flags": 256, "name": "s3.delete_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306523346489", "endTimeUnixNano": "1795164306524869630", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "delete_object" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "wUZSkS75RVs=", "parentSpanId": "1X47WVGmwVA=", "flags": 768, "name": "attachment process", "kind": "SPAN_KIND_CONSUMER", "startTimeUnixNano": "1795164306353917740", "endTimeUnixNano": "1795164306525244943", "attributes": [ { "key": "messaging.system", "value": { "stringValue": "redis" } }, { "key": "messaging.destination.name", "value": { "stringValue": "attachment-jobs" } }, { "key": "job.id", "value": { "stringValue": "04e33bb9-f3eb-47ce-a968-9d5eb45a1ee2" } }, { "key": "job.attempt", "value": { "intValue": "1" } } ], "status": {} } ] } ] }, { "resource": { "attributes": [ { "key": "telemetry.sdk.language", "value": { "stringValue": "python" } }, { "key": "telemetry.sdk.name", "value": { "stringValue": "opentelemetry" } }, { "key": "telemetry.sdk.version", "value": { "stringValue": "1.36.0" } }, { "key": "service.name", "value": { "stringValue": "messenger-api" } }, { "key": "service.version", "value": { "stringValue": "lab6.1" } }, { "key": "service.instance.id", "value": { "stringValue": "067e0d5099614580ab61516259b76c14" } }, { "key": "deployment.environment.name", "value": { "stringValue": "lab" } } ] }, "scopeSpans": [ { "scope": { "name": "messenger" }, "spans": [ { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "s72qs5x19wo=", "parentSpanId": "bWCElBq0RoM=", "flags": 256, "name": "db.transaction", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306279538296", "endTimeUnixNano": "1795164306279912941", "attributes": [ { "key": "db.system", "value": { "stringValue": "postgresql" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "9hTiABG5UiA=", "parentSpanId": "bWCElBq0RoM=", "flags": 256, "name": "db.transaction", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306279948610", "endTimeUnixNano": "1795164306280391627", "attributes": [ { "key": "db.system", "value": { "stringValue": "postgresql" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "PPdidexZwfM=", "parentSpanId": "bWCElBq0RoM=", "flags": 256, "name": "db.transaction", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306280710138", "endTimeUnixNano": "1795164306281834242", "attributes": [ { "key": "db.system", "value": { "stringValue": "postgresql" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "PKeSMnEZomk=", "parentSpanId": "XoCVQvOw3eM=", "flags": 256, "name": "s3.put_object", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306282049715", "endTimeUnixNano": "1795164306285026998", "attributes": [ { "key": "rpc.system", "value": { "stringValue": "aws-api" } }, { "key": "rpc.service", "value": { "stringValue": "S3" } }, { "key": "rpc.method", "value": { "stringValue": "put_object" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "XoCVQvOw3eM=", "parentSpanId": "bWCElBq0RoM=", "flags": 256, "name": "db.transaction", "kind": "SPAN_KIND_CLIENT", "startTimeUnixNano": "1795164306281855668", "endTimeUnixNano": "1795164306285749976", "attributes": [ { "key": "db.system", "value": { "stringValue": "postgresql" } } ], "status": {} }, { "traceId": "pjCRI5a2QQGyk8wwbuRO2A==", "spanId": "bWCElBq0RoM=", "parentSpanId": "ASNFZ4mrze8=", "flags": 768, "name": "POST /api/v1/chats/{chat_id}/attachments", "kind": "SPAN_KIND_SERVER", "startTimeUnixNano": "1795164306279505300", "endTimeUnixNano": "1795164306285992974", "attributes": [ { "key": "http.request.method", "value": { "stringValue": "POST" } }, { "key": "http.route", "value": { "stringValue": "/api/v1/chats/{chat_id}/attachments" } }, { "key": "http.response.status_code", "value": { "intValue": "202" } } ], "status": {} } ] } ] } ] }, "logs": [ { "timestamp": "2026-11-20T08:45:06.285760+00:00", "severity": "INFO", "service.name": "messenger-api", "event": "attachment_accepted", "sampled": true, "trace_id": "a630912396b64101b293cc306ee44ed8", "span_id": "6d6084941ab44683", "attachment_id": "a6e6251c-5774-4a3b-8424-c72d9568e4a6", "job_id": "04e33bb9-f3eb-47ce-a968-9d5eb45a1ee2" }, { "timestamp": "2026-11-20T08:45:06.525174+00:00", "severity": "INFO", "service.name": "messenger-worker", "event": "job_processed", "sampled": true, "trace_id": "a630912396b64101b293cc306ee44ed8", "span_id": "c14652912ef9455b", "job_id": "04e33bb9-f3eb-47ce-a968-9d5eb45a1ee2", "attempt": 1, "outcome": "ready" }, { "timestamp": "2026-11-20T08:45:06.353780+00:00", "severity": "INFO", "service.name": "messenger-dispatcher", "event": "job_published", "sampled": true, "trace_id": "a630912396b64101b293cc306ee44ed8", "span_id": "d57e3b5951a6c150", "job_id": "04e33bb9-f3eb-47ce-a968-9d5eb45a1ee2", "attempt": 1 }, { "timestamp": "2026-11-20T08:45:06.285952+00:00", "severity": "INFO", "service.name": "messenger-api", "event": "http_request", "sampled": true, "trace_id": "a630912396b64101b293cc306ee44ed8", "span_id": "6d6084941ab44683", "request_id": "cb06618bb089444e8958f45beb2a8d1f", "method": "POST", "route": "/api/v1/chats/{chat_id}/attachments", "status": 202, "duration_seconds": 0.006511 }, { "timestamp": "2026-11-20T08:45:06.504597+00:00", "severity": "INFO", "service.name": "messenger-worker", "event": "operation_failed", "sampled": true, "trace_id": "a630912396b64101b293cc306ee44ed8", "span_id": "52a483e5ad479b43", "error_type": "ClientError" }, { "timestamp": "2026-11-20T08:45:06.510258+00:00", "severity": "INFO", "service.name": "messenger-worker", "event": "operation_failed", "sampled": true, "trace_id": "a630912396b64101b293cc306ee44ed8", "span_id": "b0699f5af6610211", "error_type": "ClientError" }, { "timestamp": "2026-11-20T08:45:06.513218+00:00", "severity": "INFO", "service.name": "messenger-worker", "event": "operation_failed", "sampled": true, "trace_id": "a630912396b64101b293cc306ee44ed8", "span_id": "9fbfb420881e78ea", "error_type": "ClientError" }, { "timestamp": "2026-11-20T08:45:06.515824+00:00", "severity": "INFO", "service.name": "messenger-worker", "event": "operation_failed", "sampled": true, "trace_id": "a630912396b64101b293cc306ee44ed8", "span_id": "4e1424af20f9e2d5", "error_type": "ClientError" } ] }