inpaintServer/status.json

130 lines
3.0 KiB
JSON

{
"worker_status": {
"running": true,
"total_workers": 6,
"queue_size": 0,
"workers_by_status": {
"idle": [
{
"id": "worker_3e3d5864",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_7373b97c",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_296ab3a4",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_891dcc94",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_411ad2e8",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
},
{
"id": "worker_ab487451",
"status": "idle",
"task_count": 0,
"error_count": 0,
"last_task_at": null
}
],
"busy": [],
"starting": [],
"stopping": [],
"error": []
}
},
"session_status": {
"simple_lama": {
"min": 4,
"max": 8,
"total": 4,
"in_use": 0,
"available": 4
},
"migan": {
"min": 1,
"max": 8,
"total": 1,
"in_use": 0,
"available": 1
},
"rembg": {
"min": 1,
"max": 4,
"total": 1,
"in_use": 0,
"available": 1
}
},
"api_stats": {
"total_requests": 13467,
"successful_requests": 13467,
"failed_requests": 0,
"success_rate": 100.0,
"endpoint_usage": {
"GET /api/v1/model": 6740,
"POST /api/v1/inpaint": 6264,
"POST /api/v1/run_plugin_gen_image": 463
},
"endpoint_stats": {
"GET /api/v1/model": {
"count": 6740,
"avg_time": 0.001540846824645996,
"min_time": 0.00063323974609375,
"max_time": 0.004244089126586914,
"current_concurrent": 0
},
"POST /api/v1/inpaint": {
"count": 6264,
"avg_time": 0.5280383849143981,
"min_time": 0.2597086429595947,
"max_time": 1.651228666305542,
"current_concurrent": 5
},
"POST /api/v1/run_plugin_gen_image": {
"count": 463,
"avg_time": 0.4474348998069763,
"min_time": 0.1340315341949463,
"max_time": 2.5062549114227295,
"current_concurrent": 1
},
"POST /api/v1/remove_bg": {
"count": 0,
"avg_time": 0.0,
"min_time": 0.0,
"max_time": 0.0,
"current_concurrent": 0
}
},
"average_response_time": 0.2757347109317779,
"min_response_time": 0.0005586147308349609,
"max_response_time": 2.8400533199310303,
"current_concurrent": 6,
"max_concurrent": 12,
"requests_per_second": 1.3742163667312552,
"uptime": 9799.76685333252,
"recent_errors": []
},
"timestamp": 1759375540.6194317
}