73 lines
1.6 KiB
JSON
73 lines
1.6 KiB
JSON
{
|
|
"worker_status": {
|
|
"running": true,
|
|
"total_workers": 2,
|
|
"queue_size": 0,
|
|
"workers_by_status": {
|
|
"idle": [
|
|
{
|
|
"id": "worker_c91d2f9c",
|
|
"status": "idle",
|
|
"task_count": 0,
|
|
"error_count": 0,
|
|
"last_task_at": null
|
|
},
|
|
{
|
|
"id": "worker_ba00e1d4",
|
|
"status": "idle",
|
|
"task_count": 0,
|
|
"error_count": 0,
|
|
"last_task_at": null
|
|
}
|
|
],
|
|
"busy": [],
|
|
"starting": [],
|
|
"stopping": [],
|
|
"error": []
|
|
}
|
|
},
|
|
"session_status": {
|
|
"simple_lama": {
|
|
"total": 2,
|
|
"in_use": 0,
|
|
"available": 2
|
|
},
|
|
"migan": {
|
|
"total": 2,
|
|
"in_use": 0,
|
|
"available": 2
|
|
},
|
|
"rembg": {
|
|
"total": 1,
|
|
"in_use": 0,
|
|
"available": 1
|
|
}
|
|
},
|
|
"api_stats": {
|
|
"total_requests": 1,
|
|
"successful_requests": 1,
|
|
"failed_requests": 0,
|
|
"success_rate": 100.0,
|
|
"endpoint_usage": {
|
|
"GET /health": 1
|
|
},
|
|
"endpoint_stats": {
|
|
"GET /health": {
|
|
"count": 1,
|
|
"avg_time": 0.001737356185913086,
|
|
"min_time": 0.001737356185913086,
|
|
"max_time": 0.001737356185913086,
|
|
"current_concurrent": 0
|
|
}
|
|
},
|
|
"average_response_time": 0.001737356185913086,
|
|
"min_response_time": 0.001737356185913086,
|
|
"max_response_time": 0.001737356185913086,
|
|
"current_concurrent": 0,
|
|
"max_concurrent": 1,
|
|
"requests_per_second": 0.0014694498527868262,
|
|
"uptime": 680.5267958641052,
|
|
"recent_errors": []
|
|
},
|
|
"timestamp": 1756403844.7342515
|
|
} |