Files
mtusi2026lab6/evidence/observability.json
T
2026-12-03 20:20:07 +03:00

125 lines
4.0 KiB
JSON

{
"dashboard": "lab-messenger",
"metrics": {
"sum(messenger_http_requests_total)": 2445.0,
"sum(messenger_http_requests_total{http_status_class=\"5xx\"})": 5.0,
"sum(messenger_http_duration_seconds_count)": 2445.0,
"sum(messenger_job_deliveries_total{job_outcome=\"ready\"})": 3.0,
"sum(messenger_job_deliveries_total{job_outcome=\"failed\"})": 1.0,
"sum(messenger_job_duration_seconds_count)": 8.0
},
"api_correlation": {
"log": {
"event": "http.request",
"service": "messenger-api",
"request_id": "5fab7c41-45c0-4858-9083-916a356be9a7",
"method": "POST",
"route": "/api/v1/chats/{chat_id}/messages",
"status": 201,
"duration_ms": 7.05,
"trace_id": "b87ae9bb16beea84ef60bc1dc1f447cc",
"span_id": "a531d01e14510c6e"
},
"trace": {
"name": "POST /api/v1/chats/{chat_id}/messages",
"kind": "SPAN_KIND_SERVER",
"attributes": {
"http.request.method": "POST",
"http.route": "/api/v1/chats/{chat_id}/messages",
"http.response.status_code": "201",
"request.id": "5fab7c41-45c0-4858-9083-916a356be9a7"
},
"events": []
}
},
"worker_correlation": {
"log": {
"event": "job.process",
"service": "messenger-worker",
"job_type": "attachment.process.v1",
"job_id": "c88bc1dd-4db2-4847-b130-f84b699078b0",
"attachment_id": "9006033d-d6a1-498d-a3f3-ff840a3ab169",
"attempt": 1,
"outcome": "ready",
"reason": "completed",
"duration_ms": 19.389,
"trace_id": "14cfaf613183dcc9449ea94dcf359a6f",
"span_id": "c06c5be6126e576b"
},
"trace": {
"name": "attachment.process.v1 process",
"kind": "SPAN_KIND_CONSUMER",
"attributes": {
"messaging.system": "rabbitmq",
"messaging.destination.name": "attachment.process.v1",
"messaging.operation.type": "process",
"messaging.message.id": "c88bc1dd-4db2-4847-b130-f84b699078b0",
"attachment.id": "9006033d-d6a1-498d-a3f3-ff840a3ab169",
"job.attempt": "1",
"job.outcome": "ready",
"job.reason": "completed"
},
"events": []
}
},
"postgresql_incident": {
"log": {
"event": "http.request",
"service": "messenger-api",
"request_id": "0084b9e7-97d9-47ae-8394-36e8b70c74f1",
"method": "GET",
"route": "/health/ready",
"status": 503,
"duration_ms": 3001.269,
"trace_id": "f73f9e68c796d4868325485e2e94177d",
"span_id": "f98e20c6167c2e72"
},
"trace": {
"name": "GET /health/ready",
"kind": "SPAN_KIND_SERVER",
"attributes": {
"http.request.method": "GET",
"http.route": "/health/ready",
"http.response.status_code": "503",
"request.id": "0084b9e7-97d9-47ae-8394-36e8b70c74f1"
},
"events": [
"postgresql.unavailable"
]
}
},
"staging_incident": {
"log": {
"event": "job.process",
"service": "messenger-worker",
"job_type": "attachment.process.v1",
"job_id": "4a59e1e7-913b-4197-82d9-7362b8d5fd0f",
"attachment_id": "ddb7648f-6101-4499-8f8f-716ef7ab354f",
"attempt": 5,
"outcome": "failed",
"reason": "staging_unavailable",
"duration_ms": 6.487,
"trace_id": "334430e49f915695042a69f79db598f4",
"span_id": "65282ea2a6dd5453"
},
"trace": {
"name": "attachment.process.v1 process",
"kind": "SPAN_KIND_CONSUMER",
"attributes": {
"messaging.system": "rabbitmq",
"messaging.destination.name": "attachment.process.v1",
"messaging.operation.type": "process",
"messaging.message.id": "4a59e1e7-913b-4197-82d9-7362b8d5fd0f",
"attachment.id": "ddb7648f-6101-4499-8f8f-716ef7ab354f",
"job.attempt": "5",
"job.outcome": "failed",
"job.reason": "staging_unavailable"
},
"events": []
}
},
"staging_attempts": 5,
"message_status_with_tempo_stopped": 201,
"message_marker_absent": true
}