Files
mtusi2026lab6/evidence/db-incident-trace.json
T

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": "epY6ExihVHU9tQe8xnXiIw==",
"spanId": "MdlQ/J7piv8=",
"parentSpanId": "bqKvTaWUxEg=",
"flags": 256,
"name": "redis.get",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1794152654758902803",
"endTimeUnixNano": "1794152654758953261",
"attributes": [
{
"key": "db.system.name",
"value": {
"stringValue": "redis"
}
},
{
"key": "db.operation.name",
"value": {
"stringValue": "get"
}
}
],
"status": {}
},
{
"traceId": "epY6ExihVHU9tQe8xnXiIw==",
"spanId": "l0cDzDuR/a4=",
"parentSpanId": "bqKvTaWUxEg=",
"flags": 256,
"name": "db.pool.acquire",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1794152654758972844",
"endTimeUnixNano": "1794152654760767552",
"attributes": [
{
"key": "db.system.name",
"value": {
"stringValue": "postgresql"
}
},
{
"key": "error",
"value": {
"boolValue": true
}
}
],
"status": {
"message": "dependency unavailable",
"code": "STATUS_CODE_ERROR"
}
},
{
"traceId": "epY6ExihVHU9tQe8xnXiIw==",
"spanId": "bqKvTaWUxEg=",
"flags": 256,
"name": "POST /api/v1/chats/{chat_id}/messages",
"kind": "SPAN_KIND_SERVER",
"startTimeUnixNano": "1794152654758897136",
"endTimeUnixNano": "1794152654760800886",
"attributes": [
{
"key": "http.route",
"value": {
"stringValue": "/api/v1/chats/{chat_id}/messages"
}
},
{
"key": "http.request.method",
"value": {
"stringValue": "POST"
}
},
{
"key": "request.id",
"value": {
"stringValue": "4cf18920-182a-43f1-9bfc-ab056fed9ce2"
}
},
{
"key": "http.response.status_code",
"value": {
"intValue": "503"
}
}
],
"status": {
"message": "HTTP server error",
"code": "STATUS_CODE_ERROR"
}
}
]
}
]
}
]
}