From 9b7befdabaee0219a5d5345772af5687889d6f59 Mon Sep 17 00:00:00 2001 From: vast Date: Tue, 30 Sep 2025 13:55:16 +0000 Subject: [PATCH] =?UTF-8?q?=EC=83=81=ED=83=9C=20JSON=20=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=EC=9D=98=20=EC=9A=94=EC=B2=AD=20=ED=86=B5=EA=B3=84=EB=A5=BC=20?= =?UTF-8?q?=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8=ED=95=98=EA=B3=A0,=20?= =?UTF-8?q?=ED=8F=89=EA=B7=A0=20=EC=9D=91=EB=8B=B5=20=EC=8B=9C=EA=B0=84=20?= =?UTF-8?q?=EB=B0=8F=20=EA=B0=80=EB=8F=99=20=EC=8B=9C=EA=B0=84=EC=9D=84=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=ED=95=98=EC=98=80=EC=8A=B5=EB=8B=88=EB=8B=A4?= =?UTF-8?q?.=20=EC=84=9C=EB=B2=84=20=EB=A1=9C=EA=B7=B8=EC=97=90=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=EC=A0=81=EC=9D=B8=20=EC=9A=94=EC=B2=AD=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=EB=A5=BC=20=EA=B8=B0=EB=A1=9D=ED=95=98?= =?UTF-8?q?=EA=B3=A0,=20=EC=84=9C=EB=B2=84=20=EC=A2=85=EB=A3=8C=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EB=A1=9C=EA=B7=B8=20=EB=A9=94=EC=8B=9C?= =?UTF-8?q?=EC=A7=80=EB=A5=BC=20=EA=B0=9C=EC=84=A0=ED=95=98=EC=98=80?= =?UTF-8?q?=EC=8A=B5=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logs/main.log | 9 +++++++++ logs/main_server.log | 39 +++++++++++++++++++++++++++++++++++++++ logs/monitoring.log | 16 ++++++++++++++++ status.json | 24 ++++++++++++------------ 4 files changed, 76 insertions(+), 12 deletions(-) diff --git a/logs/main.log b/logs/main.log index 9809b66..b8e0838 100644 --- a/logs/main.log +++ b/logs/main.log @@ -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이 μ„€μ •λ˜μ§€ μ•Šμ•„ μ•Œλ¦Όμ„ 보낼 수 μ—†μŠ΅λ‹ˆλ‹€. diff --git a/logs/main_server.log b/logs/main_server.log index 106371c..a706523 100644 --- a/logs/main_server.log +++ b/logs/main_server.log @@ -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] diff --git a/logs/monitoring.log b/logs/monitoring.log index d7719f1..b30aac2 100644 --- a/logs/monitoring.log +++ b/logs/monitoring.log @@ -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(': 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(': 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(': 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(': 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(': 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(': Failed to establish a new connection: [Errno 111] Connection refused')) +INFO: Waiting for application shutdown. +INFO: Application shutdown complete. +INFO: Finished server process [8148] diff --git a/status.json b/status.json index d333c85..1de88de 100644 --- a/status.json +++ b/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 } \ No newline at end of file