125 lines
4.0 KiB
JSON
125 lines
4.0 KiB
JSON
{
|
|
"dashboard": "lab-messenger",
|
|
"metrics": {
|
|
"sum(messenger_http_requests_total)": 1268.0,
|
|
"sum(messenger_http_requests_total{http_status_class=\"5xx\"})": 5.0,
|
|
"sum(messenger_http_duration_seconds_count)": 1285.0,
|
|
"sum(messenger_job_deliveries_total{job_outcome=\"ready\"})": 2.0,
|
|
"sum(messenger_job_deliveries_total{job_outcome=\"failed\"})": 1.0,
|
|
"sum(messenger_job_duration_seconds_count)": 7.0
|
|
},
|
|
"api_correlation": {
|
|
"log": {
|
|
"event": "http.request",
|
|
"service": "messenger-api",
|
|
"request_id": "0cc21942-1a53-4deb-bc85-6b8f0accf9aa",
|
|
"method": "POST",
|
|
"route": "/api/v1/chats/{chat_id}/messages",
|
|
"status": 201,
|
|
"duration_ms": 8.988,
|
|
"trace_id": "6110ef0448fe6b85b2c1fb94f6e1fd14",
|
|
"span_id": "08dc9f8ed4d18860"
|
|
},
|
|
"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": "0cc21942-1a53-4deb-bc85-6b8f0accf9aa"
|
|
},
|
|
"events": []
|
|
}
|
|
},
|
|
"worker_correlation": {
|
|
"log": {
|
|
"event": "job.process",
|
|
"service": "messenger-worker",
|
|
"job_type": "attachment.process.v1",
|
|
"job_id": "cec20280-bdda-4536-96ef-003d969bb9fd",
|
|
"attachment_id": "8ee954a0-1678-42cd-a8a7-ce0716f1d60d",
|
|
"attempt": 1,
|
|
"outcome": "ready",
|
|
"reason": "completed",
|
|
"duration_ms": 51.818,
|
|
"trace_id": "87eea4a91c4673322b80830cac4c5711",
|
|
"span_id": "aaf2cb7771b640e2"
|
|
},
|
|
"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": "cec20280-bdda-4536-96ef-003d969bb9fd",
|
|
"attachment.id": "8ee954a0-1678-42cd-a8a7-ce0716f1d60d",
|
|
"job.attempt": "1",
|
|
"job.outcome": "ready",
|
|
"job.reason": "completed"
|
|
},
|
|
"events": []
|
|
}
|
|
},
|
|
"postgresql_incident": {
|
|
"log": {
|
|
"event": "http.request",
|
|
"service": "messenger-api",
|
|
"request_id": "466cb0f2-c511-436c-8b9d-fd99e9add9fb",
|
|
"method": "GET",
|
|
"route": "/health/ready",
|
|
"status": 503,
|
|
"duration_ms": 3001.953,
|
|
"trace_id": "a46361969771600c916b28e5d508bca3",
|
|
"span_id": "377f8554ebdd353f"
|
|
},
|
|
"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": "466cb0f2-c511-436c-8b9d-fd99e9add9fb"
|
|
},
|
|
"events": [
|
|
"postgresql.unavailable"
|
|
]
|
|
}
|
|
},
|
|
"staging_incident": {
|
|
"log": {
|
|
"event": "job.process",
|
|
"service": "messenger-worker",
|
|
"job_type": "attachment.process.v1",
|
|
"job_id": "4ffc61df-64a3-47a0-8ecb-1c03c5895f75",
|
|
"attachment_id": "33658de2-021e-449b-ac59-8556ce2d4398",
|
|
"attempt": 5,
|
|
"outcome": "failed",
|
|
"reason": "staging_unavailable",
|
|
"duration_ms": 10.432,
|
|
"trace_id": "c81d42e3a46b59a208501ada36fd6bad",
|
|
"span_id": "bb9bc849fb1519f9"
|
|
},
|
|
"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": "4ffc61df-64a3-47a0-8ecb-1c03c5895f75",
|
|
"attachment.id": "33658de2-021e-449b-ac59-8556ce2d4398",
|
|
"job.attempt": "5",
|
|
"job.outcome": "failed",
|
|
"job.reason": "staging_unavailable"
|
|
},
|
|
"events": []
|
|
}
|
|
},
|
|
"staging_attempts": 5,
|
|
"message_status_with_tempo_stopped": 201,
|
|
"message_marker_absent": true
|
|
}
|