iven
5ab8bf8479
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled
feat(server): 可观测性 Phase 1 — 健康检查路由 + Prometheus 指标 + 连接池/事件积压监控
- 添加 /health/live 存活探针别名(原 /health + /health/ready 保留)
- 新增 metrics middleware:http_requests_total 计数器 + http_request_duration_seconds 直方图
- Prometheus exporter 独立端口 9090(可通过 ERP__SERVER__METRICS_PORT 覆盖)
- 后台任务每 30s 采样 DB 连接池活跃/空闲连接数(pg_stat_activity)
- 后台任务每 30s 采样 EventBus pending 事件积压数
- UUID 路径归一化避免高基数(/api/v1/users/:id/posts)
2026-04-28 20:39:11 +08:00
..
2026-04-28 20:02:01 +08:00
2026-04-28 11:23:53 +08:00
2026-04-28 18:31:01 +08:00
2026-04-28 19:55:06 +08:00
2026-04-28 15:21:13 +08:00
2026-04-28 19:55:06 +08:00
2026-04-28 19:49:38 +08:00
2026-04-26 19:52:42 +08:00
2026-04-28 12:12:47 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-27 12:34:52 +08:00
2026-04-15 00:49:20 +08:00
2026-04-28 14:32:16 +08:00
2026-04-28 20:39:11 +08:00
2026-04-28 18:04:06 +08:00