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": 117,
"successful_requests": 115,
"failed_requests": 2,
"success_rate": 98.29059829059828,
"endpoint_usage": {
"GET /api/v1/health": 2,
"GET /health": 1,
"GET /api/v1/model": 57,
"POST /api/v1/inpaint": 57
},
"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": 57,
"avg_time": 0.003822560895953262,
"min_time": 0.001638650894165039,
"max_time": 0.00843501091003418,
"current_concurrent": 0
},
"POST /api/v1/inpaint": {
"count": 57,
"avg_time": 2.1760184974001167,
"min_time": 1.0825891494750977,
"max_time": 14.294722318649292,
"current_concurrent": 0
}
},
"average_response_time": 1.0620621208451753,
"min_response_time": 0.000980377197265625,
"max_response_time": 14.294722318649292,
"current_concurrent": 0,
"max_concurrent": 1,
"requests_per_second": 0.14829152861107922,
"uptime": 788.9864046573639,
"recent_errors": []
},
"timestamp": 1756471515.3988512
}