Files
mtusi2026lab7/evidence/telemetry.json
T
SashaKirupina 7fb93b31ba
Skeleton contracts / contracts (pull_request) Canceled after 0s
ЛР 7 — БПИ2304 — Кирюпина — на 3
2026-11-28 00:31:13 +03:00

754 lines
23 KiB
JSON

{
"apiLog": {
"timestamp": "2026-11-27T21:25:18.614Z",
"severity": "INFO",
"service.name": "messenger-api",
"event": "http.completed",
"trace_id": "b84d746aaa668ff1294ad4764919fd94",
"span_id": "67b37e04eaf54ff2",
"request_id": "8abb4f39-e36a-4fea-bff0-4a65224ee4b3",
"method": "GET",
"route": "/api/v1/users/me",
"status": 200,
"duration_seconds": 0.003088893000000098
},
"workerLog": {
"timestamp": "2026-11-27T21:25:22.837Z",
"severity": "ERROR",
"service.name": "messenger-worker",
"event": "job.completed",
"trace_id": "3267e1a4d17cbe8d30de93a7fbe55034",
"span_id": "b63998ca076b4576",
"job_type": "attachment.process.v1",
"outcome": "failed",
"duration_seconds": 0.010547288999994634,
"attachment_id": "d2b60cf8-4370-406f-b00c-89edab6966dc"
},
"traces": {
"api": {
"batches": [
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "messenger-api"
}
},
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "nodejs"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.30.1"
}
},
{
"key": "service.version",
"value": {
"stringValue": "7.0.0"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "8add01a0-80bf-4dde-a56a-e53b50687700"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger",
"version": "7.0.0"
},
"spans": [
{
"traceId": "uE10aqpmj/EpStR2SRn9lA==",
"spanId": "12dRbvmD2s8=",
"parentSpanId": "Z7N+BOr1T/I=",
"name": "postgres.query",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795814718612000000",
"endTimeUnixNano": "1795814718614513301",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {
"code": "STATUS_CODE_OK"
}
},
{
"traceId": "uE10aqpmj/EpStR2SRn9lA==",
"spanId": "Z7N+BOr1T/I=",
"name": "GET /api/v1/users/me",
"kind": "SPAN_KIND_SERVER",
"startTimeUnixNano": "1795814718611000000",
"endTimeUnixNano": "1795814718614323450",
"attributes": [
{
"key": "http.request.method",
"value": {
"stringValue": "GET"
}
},
{
"key": "http.route",
"value": {
"stringValue": "/api/v1/users/me"
}
},
{
"key": "request_id",
"value": {
"stringValue": "8abb4f39-e36a-4fea-bff0-4a65224ee4b3"
}
},
{
"key": "http.response.status_code",
"value": {
"intValue": "200"
}
}
],
"status": {
"code": "STATUS_CODE_OK"
}
}
]
}
]
}
]
},
"worker": {
"batches": [
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "nodejs"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.30.1"
}
},
{
"key": "service.version",
"value": {
"stringValue": "7.0.0"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "0fb307eb-49c8-4a9e-9fe3-df3310dab06d"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger",
"version": "7.0.0"
},
"spans": [
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "RcWLsaX3C78=",
"name": "attachment.process",
"kind": "SPAN_KIND_CONSUMER",
"startTimeUnixNano": "1795814718716000000",
"endTimeUnixNano": "1795814719775591292",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "rabbitmq"
}
},
{
"key": "job.type",
"value": {
"stringValue": "attachment.process.v1"
}
},
{
"key": "job.outcome",
"value": {
"stringValue": "retry"
}
}
],
"status": {
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "lkvPTOduyd0=",
"parentSpanId": "RcWLsaX3C78=",
"name": "attachments.publish",
"kind": "SPAN_KIND_PRODUCER",
"startTimeUnixNano": "1795814719764000000",
"endTimeUnixNano": "1795814719767834002",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "rabbitmq"
}
}
],
"status": {
"code": "STATUS_CODE_OK"
}
},
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "xodHms5+yLA=",
"parentSpanId": "WwOMVFDn6dk=",
"name": "s3.get",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795814719794000000",
"endTimeUnixNano": "1795814719796720088",
"status": {
"message": "operation_failed",
"code": "STATUS_CODE_ERROR"
}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "nodejs"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.30.1"
}
},
{
"key": "service.version",
"value": {
"stringValue": "7.0.0"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "0fb307eb-49c8-4a9e-9fe3-df3310dab06d"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger",
"version": "7.0.0"
},
"spans": [
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "r/vwyZ/NGZc=",
"parentSpanId": "RcWLsaX3C78=",
"name": "s3.get",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795814718744000000",
"endTimeUnixNano": "1795814718758208747",
"status": {
"message": "operation_failed",
"code": "STATUS_CODE_ERROR"
}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "nodejs"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.30.1"
}
},
{
"key": "service.version",
"value": {
"stringValue": "7.0.0"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "0fb307eb-49c8-4a9e-9fe3-df3310dab06d"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger",
"version": "7.0.0"
},
"spans": [
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "WwOMVFDn6dk=",
"parentSpanId": "lkvPTOduyd0=",
"name": "attachment.process",
"kind": "SPAN_KIND_CONSUMER",
"startTimeUnixNano": "1795814719772000000",
"endTimeUnixNano": "1795814720802817288",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "rabbitmq"
}
},
{
"key": "job.type",
"value": {
"stringValue": "attachment.process.v1"
}
},
{
"key": "job.outcome",
"value": {
"stringValue": "retry"
}
}
],
"status": {
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "hP0BGOc62Vs=",
"parentSpanId": "WwOMVFDn6dk=",
"name": "attachments.publish",
"kind": "SPAN_KIND_PRODUCER",
"startTimeUnixNano": "1795814720799000000",
"endTimeUnixNano": "1795814720800661304",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "rabbitmq"
}
}
],
"status": {
"code": "STATUS_CODE_OK"
}
},
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "+iGH+aZl4X4=",
"parentSpanId": "5eNrDONVqcM=",
"name": "s3.get",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795814720808000000",
"endTimeUnixNano": "1795814720810517858",
"status": {
"message": "operation_failed",
"code": "STATUS_CODE_ERROR"
}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "nodejs"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.30.1"
}
},
{
"key": "service.version",
"value": {
"stringValue": "7.0.0"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "0fb307eb-49c8-4a9e-9fe3-df3310dab06d"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger",
"version": "7.0.0"
},
"spans": [
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "5eNrDONVqcM=",
"parentSpanId": "hP0BGOc62Vs=",
"name": "attachment.process",
"kind": "SPAN_KIND_CONSUMER",
"startTimeUnixNano": "1795814720802000000",
"endTimeUnixNano": "1795814721815667456",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "rabbitmq"
}
},
{
"key": "job.type",
"value": {
"stringValue": "attachment.process.v1"
}
},
{
"key": "job.outcome",
"value": {
"stringValue": "retry"
}
}
],
"status": {
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "UVvSGuftECE=",
"parentSpanId": "5eNrDONVqcM=",
"name": "attachments.publish",
"kind": "SPAN_KIND_PRODUCER",
"startTimeUnixNano": "1795814721812000000",
"endTimeUnixNano": "1795814721813667215",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "rabbitmq"
}
}
],
"status": {
"code": "STATUS_CODE_OK"
}
},
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "T0/9ywOTYe8=",
"parentSpanId": "EdWvTrsOgpo=",
"name": "s3.get",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795814721820000000",
"endTimeUnixNano": "1795814721822292610",
"status": {
"message": "operation_failed",
"code": "STATUS_CODE_ERROR"
}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "nodejs"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.30.1"
}
},
{
"key": "service.version",
"value": {
"stringValue": "7.0.0"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "0fb307eb-49c8-4a9e-9fe3-df3310dab06d"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger",
"version": "7.0.0"
},
"spans": [
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "EdWvTrsOgpo=",
"parentSpanId": "UVvSGuftECE=",
"name": "attachment.process",
"kind": "SPAN_KIND_CONSUMER",
"startTimeUnixNano": "1795814721815000000",
"endTimeUnixNano": "1795814722827625511",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "rabbitmq"
}
},
{
"key": "job.type",
"value": {
"stringValue": "attachment.process.v1"
}
},
{
"key": "job.outcome",
"value": {
"stringValue": "retry"
}
}
],
"status": {
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "2R0lKwoDG6E=",
"parentSpanId": "EdWvTrsOgpo=",
"name": "attachments.publish",
"kind": "SPAN_KIND_PRODUCER",
"startTimeUnixNano": "1795814722824000000",
"endTimeUnixNano": "1795814722825848247",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "rabbitmq"
}
}
],
"status": {
"code": "STATUS_CODE_OK"
}
},
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "tjmYygdrRXY=",
"parentSpanId": "2R0lKwoDG6E=",
"name": "attachment.process",
"kind": "SPAN_KIND_CONSUMER",
"startTimeUnixNano": "1795814722827000000",
"endTimeUnixNano": "1795814722837951525",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "rabbitmq"
}
},
{
"key": "job.type",
"value": {
"stringValue": "attachment.process.v1"
}
},
{
"key": "job.outcome",
"value": {
"stringValue": "failed"
}
}
],
"status": {
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "MmfhpNF8vo0w3pOn++VQNA==",
"spanId": "Eqm/RyRcUGM=",
"parentSpanId": "tjmYygdrRXY=",
"name": "s3.get",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795814722831000000",
"endTimeUnixNano": "1795814722833412303",
"status": {
"message": "operation_failed",
"code": "STATUS_CODE_ERROR"
}
}
]
}
]
}
]
}
},
"metric_series": {
"messenger_http_requests_total": 24,
"messenger_http_duration_seconds_bucket": 288,
"messenger_jobs_total": 4,
"messenger_job_duration_seconds_bucket": 48
},
"failed_job_attempts": 5
}