Files
mtusi2026lab6/evidence/http_correlation.json
T
2026-10-30 21:38:40 +03:00

188 lines
5.4 KiB
JSON

{
"status": "PASS",
"request_id": "620c940a-ad91-4213-987d-b9f9c82e33b1",
"trace_id": "6033ea9415bdaf4e9b463b1017ec7766",
"logs": [
{
"timestamp": "2026-10-29T19:44:41.631044+00:00",
"severity": "INFO",
"service.name": "messenger-api",
"event": "http_request",
"trace_id": "6033ea9415bdaf4e9b463b1017ec7766",
"span_id": "4b4fef09a7a4b526",
"request_id": "620c940a-ad91-4213-987d-b9f9c82e33b1",
"method": "GET",
"route": "/api/v1/users/me",
"status": 200,
"duration_seconds": 0.00416
}
],
"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.38.0"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-api"
}
},
{
"key": "service.version",
"value": {
"stringValue": "6.0.0"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "1efed7a48991"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "6.0.0"
},
"spans": [
{
"traceId": "YDPqlBW9r06bRjsQF+x3Zg==",
"spanId": "9txHdM7pksc=",
"parentSpanId": "S0/vCaektSY=",
"flags": 256,
"name": "db.pool.acquire",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1793303081627420879",
"endTimeUnixNano": "1793303081627453481",
"attributes": [
{
"key": "db_system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "YDPqlBW9r06bRjsQF+x3Zg==",
"spanId": "D4NzgQeR+oM=",
"parentSpanId": "S0/vCaektSY=",
"flags": 256,
"name": "db.execute",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1793303081627512491",
"endTimeUnixNano": "1793303081628073344",
"attributes": [
{
"key": "db_system",
"value": {
"stringValue": "postgresql"
}
},
{
"key": "db_operation",
"value": {
"stringValue": "SELECT"
}
}
],
"status": {}
},
{
"traceId": "YDPqlBW9r06bRjsQF+x3Zg==",
"spanId": "Zu2X35zLSRQ=",
"parentSpanId": "S0/vCaektSY=",
"flags": 256,
"name": "db.execute",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1793303081628361496",
"endTimeUnixNano": "1793303081628715667",
"attributes": [
{
"key": "db_system",
"value": {
"stringValue": "postgresql"
}
},
{
"key": "db_operation",
"value": {
"stringValue": "SELECT"
}
}
],
"status": {}
},
{
"traceId": "YDPqlBW9r06bRjsQF+x3Zg==",
"spanId": "S0/vCaektSY=",
"flags": 256,
"name": "GET /api/v1/users/me",
"kind": "SPAN_KIND_SERVER",
"startTimeUnixNano": "1793303081626857741",
"endTimeUnixNano": "1793303081631269820",
"attributes": [
{
"key": "method",
"value": {
"stringValue": "GET"
}
},
{
"key": "route",
"value": {
"stringValue": "/api/v1/users/me"
}
},
{
"key": "status_class",
"value": {
"stringValue": "2xx"
}
},
{
"key": "http.response.status_code",
"value": {
"intValue": "200"
}
}
],
"status": {}
}
]
}
]
}
]
}
}