Files
mtusi2026lab7/evidence/db-incident-trace.json
2026-11-24 12:20:21 +03:00

136 lines
3.8 KiB
JSON

{
"batches": [
{
"resource": {
"attributes": [
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "api-2"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-api"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab6-v1"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "mtusi-messenger/telemetry-v1"
},
"spans": [
{
"traceId": "D3wh6gXxbWWBed22gHfojA==",
"spanId": "W/QkJVJ/2IY=",
"parentSpanId": "eG0qzJ/nc30=",
"flags": 257,
"name": "redis.get",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795422524752972507",
"endTimeUnixNano": "1795422524753071091",
"attributes": [
{
"key": "db.system.name",
"value": {
"stringValue": "redis"
}
},
{
"key": "db.operation.name",
"value": {
"stringValue": "get"
}
}
],
"status": {}
},
{
"traceId": "D3wh6gXxbWWBed22gHfojA==",
"spanId": "KlAQ0PHzbnY=",
"parentSpanId": "eG0qzJ/nc30=",
"flags": 257,
"name": "db.pool.acquire",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1795422524753091132",
"endTimeUnixNano": "1795422524754625632",
"attributes": [
{
"key": "db.system.name",
"value": {
"stringValue": "postgresql"
}
},
{
"key": "error",
"value": {
"boolValue": true
}
}
],
"status": {
"message": "dependency unavailable",
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "D3wh6gXxbWWBed22gHfojA==",
"spanId": "eG0qzJ/nc30=",
"flags": 257,
"name": "POST /api/v1/chats/{chat_id}/messages",
"kind": "SPAN_KIND_SERVER",
"startTimeUnixNano": "1795422524752965548",
"endTimeUnixNano": "1795422524754653715",
"attributes": [
{
"key": "http.route",
"value": {
"stringValue": "/api/v1/chats/{chat_id}/messages"
}
},
{
"key": "http.request.method",
"value": {
"stringValue": "POST"
}
},
{
"key": "request.id",
"value": {
"stringValue": "58f941c0-6993-4bc4-b7f2-745d049e8426"
}
},
{
"key": "http.response.status_code",
"value": {
"intValue": "503"
}
}
],
"status": {
"message": "HTTP server error",
"code": "STATUS_CODE_ERROR"
}
}
]
}
]
}
]
}