新增功能: - 效能監控儀表板 (/admin/performance):系統狀態、查詢延遲、日誌檢視 - 熔斷器 (Circuit Breaker):CLOSED/OPEN/HALF_OPEN 狀態保護資料庫 - 效能指標收集:P50/P95/P99 延遲追蹤、慢查詢統計 - SQLite 日誌儲存:結構化日誌、保留策略、手動清理功能 - Worker Watchdog:透過 systemd 服務支援優雅重啟 - 統一 API 回應格式:success_response/error_response 標準化 - 深度健康檢查端點 (/health/deep) - 404/500 錯誤頁面模板 Bug 修復: - 修復 circuit_breaker.py get_status() 死鎖問題 - 修復 health_routes.py 模組匯入路徑錯誤 新增依賴:psutil (Worker 狀態監控) 測試覆蓋:59 個新增測試案例 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
218 B
Plaintext
13 lines
218 B
Plaintext
oracledb>=2.0.0
|
|
flask>=3.0.0
|
|
pandas>=2.0.0
|
|
sqlalchemy>=2.0.0
|
|
openpyxl>=3.0.0
|
|
python-dotenv>=1.0.0
|
|
gunicorn>=21.2.0
|
|
waitress>=2.1.2; platform_system=="Windows"
|
|
requests>=2.28.0
|
|
redis>=5.0.0
|
|
hiredis>=2.0.0
|
|
psutil>=5.9.0
|