5caecb887f
- Removed check_mongodb() from health.rs - Health endpoint now depends only on PostgreSQL + Redis + Qdrant - Regenerated .sqlx offline query cache (was incomplete, only 3 files) - Binary rebuilt: target/release/momentry (47M, arm64) - Deployed to 203 (m4promini) Full clean-install + sample data install verified: - clean-install.sh: ✅ (23 PASS / 0 FAIL) - sample data: ✅ 100 videos, 899 processor_results, 100 monitor_jobs - Health endpoint: status=ok (no MongoDB hang)
161 lines
3.4 KiB
JSON
161 lines
3.4 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n SELECT\n message_id, queue_name, queue_type,\n command_type, command_category, command_action,\n key, value, priority,\n request_id, key_id, billing_context, token_usage, cost_usd,\n status, consumer_group, consumer_id,\n retry_count, max_retries, last_error,\n created_at, scheduled_at, processing_started_at, processing_completed_at\n FROM command_queue\n WHERE message_id = $1\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "message_id",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "queue_name",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "queue_type",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "command_type",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "command_category",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "command_action",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "key",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "value",
|
|
"type_info": "Jsonb"
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "priority",
|
|
"type_info": "Int2"
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "request_id",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "key_id",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "billing_context",
|
|
"type_info": "Jsonb"
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "token_usage",
|
|
"type_info": "Jsonb"
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "cost_usd",
|
|
"type_info": "Float8"
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "status",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "consumer_group",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "consumer_id",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "retry_count",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "max_retries",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "last_error",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"name": "created_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 21,
|
|
"name": "scheduled_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 22,
|
|
"name": "processing_started_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 23,
|
|
"name": "processing_completed_at",
|
|
"type_info": "Timestamptz"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Text"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true
|
|
]
|
|
},
|
|
"hash": "a09f617a37776df57c4e711b25e62075db983095764bb5f2bae1e3dfddc3b243"
|
|
}
|