74 lines
1.7 KiB
JSON
74 lines
1.7 KiB
JSON
{
|
|
"worker_status": {
|
|
"running": true,
|
|
"total_workers": 1,
|
|
"queue_size": 0,
|
|
"workers_by_status": {
|
|
"idle": [
|
|
{
|
|
"id": "worker_f42e10e1",
|
|
"status": "idle",
|
|
"task_count": 0,
|
|
"error_count": 0,
|
|
"last_task_at": null
|
|
}
|
|
],
|
|
"busy": [],
|
|
"starting": [],
|
|
"stopping": [],
|
|
"error": []
|
|
}
|
|
},
|
|
"session_status": {
|
|
"simple_lama": {
|
|
"total": 2,
|
|
"in_use": 0,
|
|
"available": 2
|
|
},
|
|
"migan": {
|
|
"total": 2,
|
|
"in_use": 0,
|
|
"available": 2
|
|
},
|
|
"rembg": {
|
|
"total": 1,
|
|
"in_use": 0,
|
|
"available": 1
|
|
}
|
|
},
|
|
"api_stats": {
|
|
"total_requests": 4,
|
|
"successful_requests": 4,
|
|
"failed_requests": 0,
|
|
"success_rate": 100.0,
|
|
"endpoint_usage": {
|
|
"GET /health": 2,
|
|
"GET /api/v1/model": 2
|
|
},
|
|
"endpoint_stats": {
|
|
"GET /health": {
|
|
"count": 2,
|
|
"avg_time": 0.001588582992553711,
|
|
"min_time": 0.0013887882232666016,
|
|
"max_time": 0.0017883777618408203,
|
|
"current_concurrent": 0
|
|
},
|
|
"GET /api/v1/model": {
|
|
"count": 2,
|
|
"avg_time": 0.0014955997467041016,
|
|
"min_time": 0.0014739036560058594,
|
|
"max_time": 0.0015172958374023438,
|
|
"current_concurrent": 0
|
|
}
|
|
},
|
|
"average_response_time": 0.0015420913696289062,
|
|
"min_response_time": 0.0013887882232666016,
|
|
"max_response_time": 0.0017883777618408203,
|
|
"current_concurrent": 0,
|
|
"max_concurrent": 1,
|
|
"requests_per_second": 0.018707118250962246,
|
|
"uptime": 213.82235074043274,
|
|
"recent_errors": []
|
|
},
|
|
"timestamp": 1756399332.7971911
|
|
} |