docs: P3 complete — backup+observability delivered (server 7b4e5c8 0.12.0 / deploy e07c9f8 0.6.0), host-verified metrics+logs+backup+drill+full-loop
This commit is contained in:
@@ -6,6 +6,13 @@ All notable changes to this repository should be documented in this file.
|
||||
The format loosely follows Keep a Changelog and can be adapted to the team's habits.
|
||||
本文档参考了 Keep a Changelog 的思路,也可以根据团队习惯调整。
|
||||
|
||||
## [0.2.6] - 2026-09-30
|
||||
|
||||
### Done / 完成
|
||||
|
||||
- P3 backup + observability delivered: crearte-server `7b4e5c8` (0.12.0 — slog JSON/text logging via LOG_FORMAT/LOG_LEVEL, per-request log middleware, hand-rolled /metrics with http+go+pgpool families and healthz/metrics self-exclusion, single-instance rate-limit tradeoff documented) and crearte-deploy `e07c9f8` (0.6.0 — backup.sh pg_dump+mc-mirror with manifest/latest/retention pruning and a docker-free --dry-run CI leg, restore-drill.sh verified against db-test only, BACKUP-RUNBOOK, api env anchor now passes LOG_* through). Verified on-host: metrics contract under real prod-profile traffic, JSON logs parseable, backup ran twice + KEEP_DAYS=1 prune + restore-drill PASS, real-stack full-loop 1 passed (no regression). Design defaults D1/D2/D3 (hand-rolled metrics / crontab / local rolling dir) after an unanswered consult; overridable per spec §2.
|
||||
- P3 备份+可观测交付:crearte-server `7b4e5c8`(0.12.0——slog 结构化日志 LOG_FORMAT/LOG_LEVEL、每请求日志中间件、手写 /metrics(http+go+pgpool 三族,/healthz 与 /metrics 自身双排除)、限流单实例权衡成文)与 crearte-deploy `e07c9f8`(0.6.0——backup.sh 七步链:pg_dump + mc mirror + manifest + latest 软链 + 保留修剪 + 无 docker 依赖的 --dry-run CI 腿;restore-drill.sh 只碰 db-test;BACKUP-RUNBOOK;api 环境锚点透传 LOG_*)。本机实测:真 prod 栈流量下 metrics 计数/自排除/nomatch 桶成立、JSON 日志零不可解析、备份连跑两次 + KEEP_DAYS=1 修剪 + drill PASS、真栈 full-loop 1 passed 不回归。选型 D1/D2/D3(手写 metrics / crontab 调度 / 本地滚动目录)为提问未应答后的默认拍板,可按 spec §2 推翻。
|
||||
|
||||
## [0.2.5] - 2026-09-30
|
||||
|
||||
### Docs / 文档
|
||||
|
||||
Reference in New Issue
Block a user