ca0292e37f
- Add PerformanceMonitoringMiddleware for request tracking - Generate unique request ID for each request - Log slow requests (threshold configurable, default 1s) - Add DatabaseQueryLogger for slow query detection - Add X-Request-ID and X-Process-Time headers - Comprehensive performance monitoring documentation - Include optimization strategies and best practices Phase 4 Task 42/68 completed
xiaoxia-saas API
结构
app/core/:配置与基础能力app/api/:路由组织app/schemas/:请求响应模型app/dependencies.py:依赖注入入口main.py:FastAPI 启动入口
当前可用接口
GET /api/healthGET /api/projects?workspace_id=...POST /api/projects