Loading...
Loading...
Compare original and translation side by side
| Check Type | Frequency | When |
|---|---|---|
| Quick | Every deploy | After any deployment |
| Daily | Daily | Morning/start of business |
| Weekly | Weekly | Beginning of week |
| Deep | Monthly | Beginning of month |
| Full Audit | Quarterly | Scheduled maintenance window |
| 检查类型 | 频率 | 执行时机 |
|---|---|---|
| 快速检查 | 每次部署后 | 任何部署完成后 |
| 每日检查 | 每日 | 早晨/工作开始时 |
| 每周检查 | 每周 | 每周开始时 |
| 深度检查 | 每月 | 每月开始时 |
| 全面审计 | 每季度 | 预定维护窗口期 |
GREEN - All systems healthy
- No critical issues
- Metrics within normal ranges
- Advisory count: 0
YELLOW - Warning state
- Non-critical issues present
- Metrics approaching limits
- Performance advisories present
RED - Critical state
- Service impaired or unavailable
- Critical metrics exceeded
- Security advisories present
- Immediate action requiredGREEN - 所有系统运行正常
- 无关键问题
- 指标在正常范围内
- 预警数量:0
YELLOW - 警告状态
- 存在非关键问题
- 指标接近阈值
- 存在性能预警
RED - 严重状态
- 服务受损或不可用
- 关键指标超出阈值
- 存在安全预警
- 需要立即采取行动| Condition | Status |
|---|---|
| Security advisory exists | RED |
| Service unavailable | RED |
| Error rate > 5% | RED |
| Connection utilization > 85% | RED |
| CI success rate < 75% | RED |
| Performance advisory exists | YELLOW |
| Error rate 1-5% | YELLOW |
| Connection utilization 70-85% | YELLOW |
| CI success rate 75-90% | YELLOW |
| Long-running queries present | YELLOW |
| All metrics normal | GREEN |
| 条件 | 状态 |
|---|---|
| 存在安全预警 | RED |
| 服务不可用 | RED |
| 错误率 > 5% | RED |
| 连接使用率 > 85% | RED |
| CI成功率 < 75% | RED |
| 存在性能预警 | YELLOW |
| 错误率 1-5% | YELLOW |
| 连接使用率 70-85% | YELLOW |
| CI成功率 75-90% | YELLOW |
| 存在长时间运行的查询 | YELLOW |
| 所有指标正常 | GREEN |
| Platform | Metric | Good | Warning | Critical |
|---|---|---|---|---|
| Database | Connection % | <70% | 70-85% | >85% |
| Database | Query Duration | <100ms | 100-500ms | >500ms |
| Database | Dead Rows % | <10% | 10-20% | >20% |
| API | Error Rate | <1% | 1-5% | >5% |
| API | Response Time P95 | <500ms | 500-2000ms | >2000ms |
| CI/CD | Success Rate | >90% | 75-90% | <75% |
| CI/CD | Build Time | <5min | 5-15min | >15min |
| 平台 | 指标 | 正常范围 | 警告范围 | 严重范围 |
|---|---|---|---|---|
| 数据库 | 连接使用率 | <70% | 70-85% | >85% |
| 数据库 | 查询时长 | <100ms | 100-500ms | >500ms |
| 数据库 | 死行占比 | <10% | 10-20% | >20% |
| API | 错误率 | <1% | 1-5% | >5% |
| API | P95响应时间 | <500ms | 500-2000ms | >2000ms |
| CI/CD | 成功率 | >90% | 75-90% | <75% |
| CI/CD | 构建时长 | <5min | 5-15min | >15min |
1. [ ] Check for active incidents (any platform)
2. [ ] Verify all services responding
3. [ ] Check for critical advisories
4. [ ] Review last hour error rate
5. [ ] Check connection pool status1. [ ] 检查所有平台是否存在活跃事件
2. [ ] 验证所有服务可正常响应
3. [ ] 检查是否存在严重预警
4. [ ] 查看过去1小时的错误率
5. [ ] 检查连接池状态1. [ ] Run quick health check
2. [ ] Review 24-hour error trends
3. [ ] Check CI/CD success rate
4. [ ] Review all advisories
5. [ ] Check slow query log
6. [ ] Verify backups completed
7. [ ] Review resource utilization1. [ ] 执行快速健康检查
2. [ ] 查看24小时错误趋势
3. [ ] 检查CI/CD成功率
4. [ ] 查看所有预警信息
5. [ ] 检查慢查询日志
6. [ ] 验证备份已完成
7. [ ] 查看资源使用率1. [ ] Run daily health check
2. [ ] Analyze weekly error patterns
3. [ ] Review index usage stats
4. [ ] Check for table bloat
5. [ ] Review connection patterns
6. [ ] Assess capacity trends
7. [ ] Review deployment frequency
8. [ ] Check certificate expirations1. [ ] 执行每日健康检查
2. [ ] 分析每周错误模式
3. [ ] 查看索引使用统计
4. [ ] 检查表膨胀情况
5. [ ] 查看连接模式
6. [ ] 评估容量趋势
7. [ ] 查看部署频率
8. [ ] 检查证书有效期1. [ ] Run weekly health check
2. [ ] Full index analysis
3. [ ] Query performance review
4. [ ] Security configuration audit
5. [ ] Capacity planning review
6. [ ] Cost analysis
7. [ ] Documentation review
8. [ ] Disaster recovery test1. [ ] 执行每周健康检查
2. [ ] 全面索引分析
3. [ ] 查询性能审查
4. [ ] 安全配置审计
5. [ ] 容量规划审查
6. [ ] 成本分析
7. [ ] 文档审查
8. [ ] 灾难恢复测试undefinedundefined| Platform | Status | Issues | Warnings |
|---|---|---|---|
| GitHub Actions | {STATUS} | {N} | {N} |
| Railway | {STATUS} | {N} | {N} |
| Supabase | {STATUS} | {N} | {N} |
| Postgres | {STATUS} | {N} | {N} |
| 平台 | 状态 | 问题数量 | 警告数量 |
|---|---|---|---|
| GitHub Actions | {状态} | {N} | {N} |
| Railway | {状态} | {N} | {N} |
| Supabase | {状态} | {N} | {N} |
| Postgres | {状态} | {N} | {N} |
undefinedundefined1. Check for connection leaks
2. Identify idle connections
3. Review connection pool settings
4. Consider connection pooler (PgBouncer/Supavisor)
5. Optimize application connection handling1. 检查是否存在连接泄漏
2. 识别空闲连接
3. 查看连接池设置
4. 考虑使用连接池工具(PgBouncer/Supavisor)
5. 优化应用的连接处理逻辑1. Identify error types
2. Check recent deployments
3. Review affected endpoints
4. Check downstream dependencies
5. Roll back if deployment-related1. 识别错误类型
2. 检查最近的部署记录
3. 查看受影响的端点
4. 检查下游依赖
5. 若与部署相关则回滚版本1. Identify slow queries (pg_stat_statements)
2. Run EXPLAIN ANALYZE
3. Check for missing indexes
4. Review query patterns
5. Consider query optimization or caching1. 识别慢查询(pg_stat_statements)
2. 执行EXPLAIN ANALYZE
3. 检查是否缺少索引
4. 查看查询模式
5. 考虑查询优化或缓存策略1. Review failure logs
2. Check for flaky tests
3. Verify dependencies available
4. Check for environment issues
5. Review recent changes1. 查看失败日志
2. 检查是否存在不稳定测试
3. 验证依赖是否可用
4. 检查环境问题
5. 查看最近的变更