82 lines
1.9 KiB
JSON
82 lines
1.9 KiB
JSON
{
|
|
"worker_status": {
|
|
"running": true,
|
|
"total_workers": 1,
|
|
"queue_size": 0,
|
|
"workers_by_status": {
|
|
"idle": [
|
|
{
|
|
"id": "worker_b2710341",
|
|
"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": 3,
|
|
"successful_requests": 3,
|
|
"failed_requests": 0,
|
|
"success_rate": 100.0,
|
|
"endpoint_usage": {
|
|
"GET /health": 1,
|
|
"GET /docs": 1,
|
|
"GET /openapi.json": 1
|
|
},
|
|
"endpoint_stats": {
|
|
"GET /health": {
|
|
"count": 1,
|
|
"avg_time": 0.0018129348754882812,
|
|
"min_time": 0.0018129348754882812,
|
|
"max_time": 0.0018129348754882812,
|
|
"current_concurrent": 0
|
|
},
|
|
"GET /docs": {
|
|
"count": 1,
|
|
"avg_time": 0.004830598831176758,
|
|
"min_time": 0.004830598831176758,
|
|
"max_time": 0.004830598831176758,
|
|
"current_concurrent": 0
|
|
},
|
|
"GET /openapi.json": {
|
|
"count": 1,
|
|
"avg_time": 0.05776262283325195,
|
|
"min_time": 0.05776262283325195,
|
|
"max_time": 0.05776262283325195,
|
|
"current_concurrent": 0
|
|
}
|
|
},
|
|
"average_response_time": 0.021468718846638996,
|
|
"min_response_time": 0.0018129348754882812,
|
|
"max_response_time": 0.05776262283325195,
|
|
"current_concurrent": 0,
|
|
"max_concurrent": 1,
|
|
"requests_per_second": 0.0033078277142560603,
|
|
"uptime": 906.9396169185638,
|
|
"recent_errors": []
|
|
},
|
|
"timestamp": 1756392517.7702124
|
|
} |