OG T
|
b8b124c917
|
chore: 收工存檔 — LOGBOOK + 封存過時 flywheel-alerts CRD
CD Pipeline / build-and-deploy (push) Has been cancelled
2026-04-14 傍晚 Session 收尾:
- LOGBOOK.md: 記錄本日 6 commits + Mission C E2E 驗證 + MASTER 藍圖 P0+P1 全綠
- k8s/monitoring/flywheel-alerts.yaml: 加 🔴 DEPRECATED 標記
(11/11 規則已遷入 ops/monitoring/alerts-unified.yml,此 CRD 檔無 Operator 支援)
Backlog 清剿盤點:
✅ C2 hasType4 前端硬編(已接真實 API)
✅ C3 WebSocket 無重連(指數退避 + polling fallback)
✅ flywheel-alerts Docker 方式改寫(已完成,僅舊檔未清理 → 本 commit 封存)
✅ risk_level YAML 優先邏輯(decision_manager:1663)
⏳ SMTP_USER/SMTP_PASSWORD CHANGE_ME(需統帥提供帳密)
⏳ 各類 E2E 驗證(需真實告警觸發)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
2026-04-14 18:21:08 +08:00 |
|
OG T
|
ec6a341f3e
|
feat(m5): ADR-074 M5 — Docker 188 / Redis Streams / PostgreSQL 磁碟告警
新增 awoooi_infrastructure_detailed 告警群組:
- DockerContainerUnhealthyDetailed: 188 容器無活動 > 2min
- RedisStreamBacklogHigh: Stream 積壓 > 500 筆
- PostgreSQLDiskGrowthRate: 磁碟 1h 增長 > 500MB
2026-04-12 ogt (ADR-074 M5)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-12 15:36:54 +08:00 |
|
OG T
|
c1c96ab47b
|
feat(m4): ADR-074 M4 — 備份還原週排程驗證 CronJob
- scripts/cron_backup_restore_test.sh: Velero restore dry-run 腳本
- k8s/awoooi-prod/16-cronjob-backup-restore-test.yaml: 每週日 02:00 台北執行
- k8s/awoooi-prod/17-configmap-backup-restore-scripts.yaml: 腳本 ConfigMap
- flywheel-alerts.yaml: BackupRestoreTestFailed + BackupRestoreTestStale 告警
失敗時寫入 node-exporter textfile → Prometheus 告警 → TYPE-3 Incident
2026-04-12 ogt (ADR-074 M4)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-12 15:36:30 +08:00 |
|
OG T
|
16d682346a
|
feat(adr-074): M1 飛輪健康度 Exporter + M2 主機網路監控
CD Pipeline / build-and-deploy (push) Has been cancelled
ADR-074 M1:
- FlywheelStatsService: 計算6項飛輪指標(Playbook數/成功率/KM向量化/alertname NULL/卡住數)
- GET /api/v1/stats/flywheel — 六節點即時狀態(C1 前端用)
- GET /api/v1/stats/summary — KPI 面板數據(C1 前端用)
- GET /api/v1/stats/flywheel/metrics — Prometheus text format
- flywheel-alerts.yaml: 5條告警規則(FlywheelPlaybookZero/ExecutionSuccessLow/KMVectorizationLow/AlertnameNullHigh/IncidentsStuck)
- prometheus.yml: awoooi-flywheel scrape job(5分鐘間隔)
ADR-074 M2:
- prometheus.yml: host-connectivity Blackbox TCP probe(110:22/188:22/120:6443/121:6443)
- flywheel-alerts.yaml: HostNetworkPartition 告警規則
597 unit tests passed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-12 15:31:01 +08:00 |
|