Files
mtusi2026lab7/evidence/correlated-trace.json
T

798 lines
22 KiB
JSON

{
"batches": [
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.3"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "cb6ebd579685"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-api"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7-v1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "fastapi",
"version": "0.165.1"
},
"spans": [
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "zz5MzL4KMIU=",
"parentSpanId": "SSUgeDpXRUk=",
"flags": 768,
"name": "POST /api/v1/chats/{chat_id}/attachments",
"kind": "SPAN_KIND_SERVER",
"startTimeUnixNano": "1796405042792091316",
"endTimeUnixNano": "1796405042895789409",
"attributes": [
{
"key": "server.address",
"value": {
"stringValue": "localhost"
}
},
{
"key": "server.port",
"value": {
"intValue": "8443"
}
},
{
"key": "url.path",
"value": {
"stringValue": "/api/v1/chats/c8b97416-82c9-40c6-a39b-fe6f5f7bd795/attachments"
}
},
{
"key": "url.query",
"value": {
"stringValue": "filename=probe.png"
}
},
{
"key": "url.scheme",
"value": {
"stringValue": "http"
}
},
{
"key": "http.request.method",
"value": {
"stringValue": "POST"
}
},
{
"key": "network.protocol.version",
"value": {
"stringValue": "1.1"
}
},
{
"key": "http.route",
"value": {
"stringValue": "/api/v1/chats/{chat_id}/attachments"
}
},
{
"key": "http.response.status_code",
"value": {
"intValue": "202"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "5WespVifuVM=",
"parentSpanId": "HaeLvevlfQ8=",
"flags": 256,
"name": "fastapi.dependencies",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042794226217",
"endTimeUnixNano": "1796405042794645881",
"attributes": [
{
"key": "code.function.name",
"value": {
"stringValue": "attachments.register_routes.<locals>.upload"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "o6NGATF7wCo=",
"parentSpanId": "HaeLvevlfQ8=",
"flags": 256,
"name": "fastapi.endpoint",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042794713756",
"endTimeUnixNano": "1796405042894875290",
"attributes": [
{
"key": "code.function.name",
"value": {
"stringValue": "attachments.register_routes.<locals>.upload"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "AoFAKAdUnOE=",
"parentSpanId": "HaeLvevlfQ8=",
"flags": 256,
"name": "fastapi.serialization",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042894986581",
"endTimeUnixNano": "1796405042895063206",
"attributes": [
{
"key": "code.function.name",
"value": {
"stringValue": "attachments.register_routes.<locals>.upload"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.3"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "cb6ebd579685"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-api"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7-v1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "1.0"
},
"spans": [
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "HaeLvevlfQ8=",
"parentSpanId": "SSUgeDpXRUk=",
"flags": 768,
"name": "POST /api/v1/chats/{chat_id}/attachments",
"kind": "SPAN_KIND_SERVER",
"startTimeUnixNano": "1796405042792245482",
"endTimeUnixNano": "1796405042896275114",
"attributes": [
{
"key": "http.method",
"value": {
"stringValue": "POST"
}
},
{
"key": "http.route",
"value": {
"stringValue": "/api/v1/chats/{chat_id}/attachments"
}
},
{
"key": "http.status_class",
"value": {
"stringValue": "2xx"
}
},
{
"key": "request_id",
"value": {
"stringValue": "e3c51505d89645eb8864edb0e56fdd52"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "HjIQ1KXUhi4=",
"parentSpanId": "o6NGATF7wCo=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042794973712",
"endTimeUnixNano": "1796405042798839309",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "JrmBONB0DsY=",
"parentSpanId": "o6NGATF7wCo=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042798921684",
"endTimeUnixNano": "1796405042800899586",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "HZpfuXBs4aE=",
"parentSpanId": "o6NGATF7wCo=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042845087729",
"endTimeUnixNano": "1796405042894596667",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "0+llmXP6mEc=",
"parentSpanId": "HZpfuXBs4aE=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405042848974326",
"endTimeUnixNano": "1796405042884735321",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.3"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "05861a9542d4"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-publisher"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7-v1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "1.0"
},
"spans": [
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "9g3S/HkMdFw=",
"parentSpanId": "HZpfuXBs4aE=",
"flags": 768,
"name": "queue.publish",
"kind": "SPAN_KIND_PRODUCER",
"startTimeUnixNano": "1796405042984624775",
"endTimeUnixNano": "1796405042995554780",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "redis"
}
},
{
"key": "messaging.destination.name",
"value": {
"stringValue": "attachments.v1"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.3"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "a50427b82878"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7-v1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "1.0"
},
"spans": [
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "ByhBRY/fM4U=",
"parentSpanId": "9g3S/HkMdFw=",
"flags": 768,
"name": "queue.process",
"kind": "SPAN_KIND_CONSUMER",
"startTimeUnixNano": "1796405042997286392",
"endTimeUnixNano": "1796405043722711958",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "redis"
}
},
{
"key": "messaging.destination.name",
"value": {
"stringValue": "attachments.v1"
}
},
{
"key": "job.type",
"value": {
"stringValue": "attachment.process.v1"
}
},
{
"key": "job.outcome",
"value": {
"stringValue": "ready"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "fGI7WkxZK6U=",
"parentSpanId": "ByhBRY/fM4U=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405043028100964",
"endTimeUnixNano": "1796405043720015727",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "i649z8kbaA0=",
"parentSpanId": "fGI7WkxZK6U=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405043609936389",
"endTimeUnixNano": "1796405043641896952",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "MvCP2VzS02w=",
"parentSpanId": "fGI7WkxZK6U=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405043642649863",
"endTimeUnixNano": "1796405043684614188",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "mlWvgXkA4DU=",
"parentSpanId": "fGI7WkxZK6U=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405043685107185",
"endTimeUnixNano": "1796405043700747073",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "EA5nqoNvvVs=",
"parentSpanId": "fGI7WkxZK6U=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405043700954530",
"endTimeUnixNano": "1796405043715058137",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.3"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "a50427b82878"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7-v1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "1.0"
},
"spans": [
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "HJ+D3SXwtVA=",
"parentSpanId": "ByhBRY/fM4U=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042997791055",
"endTimeUnixNano": "1796405043027281636",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "a06WGSfzs60=",
"parentSpanId": "fGI7WkxZK6U=",
"flags": 256,
"name": "s3.get_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405043039177301",
"endTimeUnixNano": "1796405043074458133",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "get_object"
}
}
],
"status": {}
}
]
}
]
}
]
}