inpaintServer/status.json

143 lines
3.2 KiB
JSON

{
"worker_status": {
"running": true,
"total_workers": 10,
"queue_size": 0,
"workers_by_status": {
"idle": [
{
"id": "worker_f70b814c",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_7ef5e684",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_63d0f5bb",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_9b7b1de3",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_7952c8ab",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_7af356b5",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_156f8680",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_e9ca4545",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_ad1a8fc2",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_3a52ecf2",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
}
],
"busy": [],
"starting": [],
"stopping": [],
"error": []
}
},
"session_status": {
"simple_lama": {
"min": 2,
"max": 4,
"total": 2,
"in_use": 0,
"available": 2
},
"migan": {
"min": 2,
"max": 4,
"total": 2,
"in_use": 0,
"available": 2
},
"rembg": {
"min": 2,
"max": 4,
"total": 2,
"in_use": 0,
"available": 2
}
},
"api_stats": {
"total_requests": 7,
"successful_requests": 7,
"failed_requests": 0,
"success_rate": 100.0,
"endpoint_usage": {
"GET /api/v1/health": 2,
"POST /api/v1/remove_bg": 5
},
"endpoint_stats": {
"GET /api/v1/health": {
"count": 2,
"avg_time": 0.0023573637008666992,
"min_time": 0.0011353492736816406,
"max_time": 0.003579378128051758,
"current_concurrent": 0
},
"POST /api/v1/remove_bg": {
"count": 5,
"avg_time": 15.194099569320679,
"min_time": 0.29595065116882324,
"max_time": 74.70842432975769,
"current_concurrent": 0
}
},
"average_response_time": 10.853601796286446,
"min_response_time": 0.0011353492736816406,
"max_response_time": 74.70842432975769,
"current_concurrent": 0,
"max_concurrent": 1,
"requests_per_second": 0.019528829012151992,
"uptime": 358.4444308280945,
"recent_errors": []
},
"timestamp": 1756730843.4636421
}