chore: add hourly runtime slo soak monitor

This commit is contained in:
Your Name
2026-07-02 12:45:55 +08:00
parent f9a385f333
commit 8e0ace1389
5 changed files with 139 additions and 7 deletions
+17
View File
@@ -218,6 +218,23 @@ runtime.toolQueueSlo.runningWithoutHeartbeatCount=0 during normal operation
failures=[] unless heartbeat age exceeds MEMIND_AGENT_RUN_HEARTBEAT_STALE_MS
```
For the 24h all-user gray soak, keep the daily SLO report unchanged and install the separate hourly snapshot agent:
```bash
MEMIND_RUNTIME_SLO_SOAK_INTERVAL_SECONDS=3600 \
MEMIND_RUNTIME_SLO_SOAK_RETENTION_DAYS=7 \
bash /Users/john/Project/Memind/scripts/install-runtime-slo-soak-agent.sh
```
Expected soak state:
```text
LaunchAgent label=cn.tkmind.memind-runtime-slo-soak
StartInterval=3600
reportDir=/Users/john/Project/Memind/reports/runtime-slo-soak
latest JSON/Markdown snapshot includes runtime.toolQueueSlo.heartbeatMs
```
Apply only when the listed running rows are known stale:
```bash