상태 JSON 파일의 요청 통계를 업데이트하고, 평균 응답 시간 및 가동 시간을 수정하였습니다. 서버 로그에 추가적인 요청 정보를 기록하고, 서버 종료 관련 로그 메시지를 개선하였습니다.
This commit is contained in:
parent
06d1a5d8f3
commit
9b7befdaba
|
|
@ -931,3 +931,12 @@
|
|||
2025-09-30 13:41:53,503 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
||||
2025-09-30 13:41:53,504 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
||||
2025-09-30 13:41:53,505 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
||||
2025-09-30 13:54:43,087 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
||||
2025-09-30 13:54:43,088 - app.core.worker_manager - INFO - Stopping worker manager...
|
||||
2025-09-30 13:54:43,090 - app.core.worker_manager - INFO - Worker manager stopped
|
||||
2025-09-30 13:54:43,091 - main - INFO - ✅ 워커 매니저 중지 완료
|
||||
2025-09-30 13:54:43,091 - app.core.batch_manager - INFO - Stopping BatchManager...
|
||||
2025-09-30 13:54:43,091 - app.core.batch_manager - INFO - BatchManager stopped.
|
||||
2025-09-30 13:54:43,092 - main - INFO - ✅ 배치 관리자 중지 완료
|
||||
2025-09-30 13:54:43,092 - main - INFO - 👋 인페인팅 서버 종료 완료
|
||||
2025-09-30 13:54:43,092 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
||||
|
|
|
|||
|
|
@ -580,3 +580,42 @@ INFO: 127.0.0.1:50504 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
|||
INFO: 127.0.0.1:46048 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46062 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46068 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46080 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46094 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46110 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46124 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42736 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42752 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42758 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42764 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42768 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42780 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51652 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51658 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51664 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51680 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51690 - "GET /api/v1/health HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51706 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51722 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO:main:🛑 인페인팅 서버 종료 중...
|
||||
2025-09-30 13:54:43,087 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
||||
INFO:app.core.worker_manager:Stopping worker manager...
|
||||
2025-09-30 13:54:43,088 - app.core.worker_manager - INFO - Stopping worker manager...
|
||||
INFO:app.core.worker_manager:Worker manager stopped
|
||||
2025-09-30 13:54:43,090 - app.core.worker_manager - INFO - Worker manager stopped
|
||||
INFO:main:✅ 워커 매니저 중지 완료
|
||||
2025-09-30 13:54:43,091 - main - INFO - ✅ 워커 매니저 중지 완료
|
||||
INFO:app.core.batch_manager:Stopping BatchManager...
|
||||
2025-09-30 13:54:43,091 - app.core.batch_manager - INFO - Stopping BatchManager...
|
||||
INFO:app.core.batch_manager:BatchManager stopped.
|
||||
2025-09-30 13:54:43,091 - app.core.batch_manager - INFO - BatchManager stopped.
|
||||
INFO:main:✅ 배치 관리자 중지 완료
|
||||
2025-09-30 13:54:43,092 - main - INFO - ✅ 배치 관리자 중지 완료
|
||||
INFO:main:👋 인페인팅 서버 종료 완료
|
||||
2025-09-30 13:54:43,092 - main - INFO - 👋 인페인팅 서버 종료 완료
|
||||
WARNING:app.utils.discord_notifier:Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
||||
2025-09-30 13:54:43,092 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [8030]
|
||||
|
|
|
|||
|
|
@ -157,3 +157,19 @@ INFO: 122.35.47.45:52393 - "GET /api/logs?lines=50 HTTP/1.1" 200 OK
|
|||
INFO: 122.35.47.45:52395 - "GET /api/model-usage-stats HTTP/1.1" 200 OK
|
||||
INFO: 122.35.47.45:52394 - "GET /api/performance-stats HTTP/1.1" 200 OK
|
||||
INFO: 122.35.47.45:52396 - "GET /api/system-alerts HTTP/1.1" 200 OK
|
||||
INFO: 122.35.47.45:52449 - "GET /api/system-alerts HTTP/1.1" 200 OK
|
||||
INFO: 122.35.47.45:52448 - "GET /api/model-usage-stats HTTP/1.1" 200 OK
|
||||
INFO: 122.35.47.45:52450 - "GET /api/logs?lines=50 HTTP/1.1" 200 OK
|
||||
INFO: 122.35.47.45:52447 - "GET /api/performance-stats HTTP/1.1" 200 OK
|
||||
ERROR:app.monitoring.dashboard:모델 성능 통계 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Max retries exceeded with url: /api/v1/stats (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1f99e52110>: Failed to establish a new connection: [Errno 111] Connection refused'))
|
||||
ERROR:app.monitoring.dashboard:모델 성능 통계 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Max retries exceeded with url: /api/v1/stats (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1f99e500d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
|
||||
ERROR:app.monitoring.dashboard:모델 성능 통계 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Max retries exceeded with url: /api/v1/stats (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1f99db36d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
|
||||
ERROR:app.monitoring.dashboard:모델 성능 통계 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Max retries exceeded with url: /api/v1/stats (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1f99db0ca0>: Failed to establish a new connection: [Errno 111] Connection refused'))
|
||||
INFO: Shutting down
|
||||
INFO: connection closed
|
||||
INFO: Waiting for background tasks to complete. (CTRL+C to force quit)
|
||||
ERROR:app.monitoring.dashboard:모델 성능 통계 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Max retries exceeded with url: /api/v1/stats (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1f99e51060>: Failed to establish a new connection: [Errno 111] Connection refused'))
|
||||
ERROR:app.monitoring.dashboard:모델 성능 통계 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Max retries exceeded with url: /api/v1/stats (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1f99e525f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [8148]
|
||||
|
|
|
|||
24
status.json
24
status.json
|
|
@ -50,20 +50,20 @@
|
|||
}
|
||||
},
|
||||
"api_stats": {
|
||||
"total_requests": 483,
|
||||
"successful_requests": 483,
|
||||
"total_requests": 500,
|
||||
"successful_requests": 500,
|
||||
"failed_requests": 0,
|
||||
"success_rate": 100.0,
|
||||
"endpoint_usage": {
|
||||
"GET /api/v1/health": 26,
|
||||
"GET /api/v1/health": 27,
|
||||
"GET /docs": 2,
|
||||
"GET /openapi.json": 2,
|
||||
"GET /api/v1/stats": 453
|
||||
"GET /api/v1/stats": 469
|
||||
},
|
||||
"endpoint_stats": {
|
||||
"GET /api/v1/health": {
|
||||
"count": 26,
|
||||
"avg_time": 0.0008129981847909781,
|
||||
"count": 27,
|
||||
"avg_time": 0.0008100227073386863,
|
||||
"min_time": 0.0004703998565673828,
|
||||
"max_time": 0.001514434814453125,
|
||||
"current_concurrent": 0
|
||||
|
|
@ -83,21 +83,21 @@
|
|||
"current_concurrent": 0
|
||||
},
|
||||
"GET /api/v1/stats": {
|
||||
"count": 453,
|
||||
"avg_time": 0.0007633113861083984,
|
||||
"count": 469,
|
||||
"avg_time": 0.0007652616500854492,
|
||||
"min_time": 0.0005528926849365234,
|
||||
"max_time": 0.0024929046630859375,
|
||||
"current_concurrent": 0
|
||||
}
|
||||
},
|
||||
"average_response_time": 0.0007826260157993861,
|
||||
"average_response_time": 0.0007812113761901855,
|
||||
"min_response_time": 0.00044035911560058594,
|
||||
"max_response_time": 0.018742799758911133,
|
||||
"current_concurrent": 0,
|
||||
"max_concurrent": 1,
|
||||
"requests_per_second": 0.6457965986862227,
|
||||
"uptime": 747.9135086536407,
|
||||
"requests_per_second": 0.6468627716181136,
|
||||
"uptime": 772.9614717960358,
|
||||
"recent_errors": []
|
||||
},
|
||||
"timestamp": 1759240457.3468797
|
||||
"timestamp": 1759240482.3948221
|
||||
}
|
||||
Loading…
Reference in New Issue