inpaintServer/status.json

111 lines
2.6 KiB
JSON

{
"worker_status": {
"running": true,
"total_workers": 4,
"queue_size": 0,
"workers_by_status": {
"idle": [
{
"id": "worker_4a61796f",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_ef99e89d",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_da813d18",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_ed362e96",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
}
],
"busy": [],
"starting": [],
"stopping": [],
"error": []
}
},
"session_status": {
"simple_lama": {
"total": 4,
"in_use": 0,
"available": 4
},
"migan": {
"total": 4,
"in_use": 0,
"available": 4
},
"rembg": {
"total": 3,
"in_use": 0,
"available": 3
}
},
"api_stats": {
"total_requests": 31,
"successful_requests": 29,
"failed_requests": 2,
"success_rate": 93.54838709677419,
"endpoint_usage": {
"GET /api/v1/health": 2,
"GET /health": 1,
"GET /api/v1/model": 14,
"POST /api/v1/inpaint": 14
},
"endpoint_stats": {
"GET /api/v1/health": {
"count": 2,
"avg_time": 0.001275777816772461,
"min_time": 0.000980377197265625,
"max_time": 0.0015711784362792969,
"current_concurrent": 0
},
"GET /health": {
"count": 1,
"avg_time": 0.0077762603759765625,
"min_time": 0.0077762603759765625,
"max_time": 0.0077762603759765625,
"current_concurrent": 0
},
"GET /api/v1/model": {
"count": 14,
"avg_time": 0.004632132393973214,
"min_time": 0.0023491382598876953,
"max_time": 0.007782697677612305,
"current_concurrent": 0
},
"POST /api/v1/inpaint": {
"count": 14,
"avg_time": 3.2447635446275984,
"min_time": 1.2617759704589844,
"max_time": 14.294722318649292,
"current_concurrent": 0
}
},
"average_response_time": 1.4678021707842428,
"min_response_time": 0.000980377197265625,
"max_response_time": 14.294722318649292,
"current_concurrent": 0,
"max_concurrent": 1,
"requests_per_second": 0.09576884328690756,
"uptime": 323.69608879089355,
"recent_errors": []
},
"timestamp": 1756471050.1084073
}