- Add platform infrastructure chapter to frontend-backend architecture design - Update system architecture document with 6 new infrastructure modules - Update AI onboarding guide with infrastructure overview - Link to backend/src/common/README.md for detailed usage guide Key Updates: - Storage service (LocalAdapter + OSSAdapter) - Logging system (Winston + JSON format) - Cache service (Memory + Redis) - Async job queue (Memory + Database) - Health check endpoints - Monitoring metrics - Database connection pool - Environment config management All modules support zero-code switching between local and cloud environments. Related: #Platform-Infrastructure
53 lines
557 B
Markdown
53 lines
557 B
Markdown
# 监控与日志
|
|
|
|
> **模块定位:** 平台基础层
|
|
> **优先级:** P1
|
|
> **状态:** ⏳ 待设计
|
|
|
|
---
|
|
|
|
## 📋 模块概述
|
|
|
|
监控与日志服务负责:
|
|
- 操作日志记录
|
|
- 错误日志监控
|
|
- 性能监控
|
|
- 审计日志(合规要求)
|
|
|
|
---
|
|
|
|
## 🎯 核心功能
|
|
|
|
### 1. 操作日志
|
|
- 用户操作记录
|
|
- 管理员操作记录
|
|
|
|
### 2. 错误日志
|
|
- 系统错误捕获
|
|
- 错误告警
|
|
|
|
### 3. 审计日志
|
|
- 敏感操作记录
|
|
- 合规审计
|
|
|
|
---
|
|
|
|
**最后更新:** 2025-11-06
|
|
**维护人:** 技术架构师
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|