forked from mtusi2026/mtusi2026lab6
Implement observable messenger, SLO alerts and measured incident scenarios
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"trace": {
|
||||
"trace_id": "84feb285cc9e4c0689791be22a13b605",
|
||||
"request_id": "57056efbd85c486098a82c2008811afb",
|
||||
"attachment_id": "847acd7e-d389-488c-9ddf-36611aced72b",
|
||||
"job_id": "1978e440-3552-47be-bccb-8c543e65a860",
|
||||
"spans": 19,
|
||||
"consumer_attempts": 2,
|
||||
"names": [
|
||||
"POST /api/v1/chats/{chat_id}/attachments",
|
||||
"fastapi.dependencies",
|
||||
"fastapi.endpoint",
|
||||
"fastapi.serialization",
|
||||
"POST /api/v1/chats/{chat_id}/attachments",
|
||||
"db.session.authenticate",
|
||||
"attachment.durable_accept",
|
||||
"s3.put",
|
||||
"attachment.publish",
|
||||
"attachment.consume",
|
||||
"attachment.publish",
|
||||
"attachment.consume",
|
||||
"image.render",
|
||||
"s3.put",
|
||||
"s3.put",
|
||||
"s3.put",
|
||||
"s3.put",
|
||||
"db.attachment.commit",
|
||||
"s3.get"
|
||||
],
|
||||
"tracestate_preserved": true,
|
||||
"staging_removed": true
|
||||
},
|
||||
"logs": {
|
||||
"count": 5,
|
||||
"outcomes": [
|
||||
"ready",
|
||||
"retry"
|
||||
],
|
||||
"request_id_correlated": true,
|
||||
"secret_values_absent": true
|
||||
},
|
||||
"metrics": {
|
||||
"present": [
|
||||
"http_server_requests_total",
|
||||
"http_server_duration_seconds_bucket",
|
||||
"jobs_processed_total",
|
||||
"job_processing_duration_seconds_bucket",
|
||||
"attachment_time_to_ready_seconds_bucket",
|
||||
"queue_depth",
|
||||
"queue_oldest_age_seconds",
|
||||
"db_pool_used",
|
||||
"db_pool_waiting",
|
||||
"worker_busy",
|
||||
"worker_capacity",
|
||||
"process_rss_bytes",
|
||||
"process_cpu_time_seconds",
|
||||
"attachment_slo_eligible",
|
||||
"attachment_slo_bad"
|
||||
],
|
||||
"forbidden_labels_absent": true
|
||||
},
|
||||
"passed": true
|
||||
}
|
||||
Reference in New Issue
Block a user