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_1daac568",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_c66b7d6b",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_cefffbad",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_009a14df",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_335c1fa5",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_2767d405",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_8ec98a8f",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_1c42e06e",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_3124fda8",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_074f5bdb",
"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": 26,
"successful_requests": 26,
"failed_requests": 0,
"success_rate": 100.0,
"endpoint_usage": {
"GET /api/v1/health": 2,
"POST /api/v1/inpaint": 24
},
"endpoint_stats": {
"GET /api/v1/health": {
"count": 2,
"avg_time": 0.0014368295669555664,
"min_time": 0.0011837482452392578,
"max_time": 0.001689910888671875,
"current_concurrent": 0
},
"POST /api/v1/inpaint": {
"count": 24,
"avg_time": 8.082906911770502,
"min_time": 2.5534043312072754,
"max_time": 25.198312282562256,
"current_concurrent": 0
}
},
"average_response_time": 7.461255366985615,
"min_response_time": 0.0011837482452392578,
"max_response_time": 25.198312282562256,
"current_concurrent": 0,
"max_concurrent": 8,
"requests_per_second": 0.1387551056852149,
"uptime": 187.38049221038818,
"recent_errors": []
},
"timestamp": 1756486697.262446
}