feat: add agent run heartbeat to slo reports
This commit is contained in:
@@ -203,6 +203,21 @@ oldestRunningHeartbeatAgeMs=0 when no running rows
|
||||
runningWithoutHeartbeatCount=0 during normal operation
|
||||
```
|
||||
|
||||
Runtime SLO report should also expose the same heartbeat summary:
|
||||
|
||||
```bash
|
||||
node /Users/john/Project/Memind/scripts/runtime-slo-report.mjs
|
||||
```
|
||||
|
||||
Expected SLO fields:
|
||||
|
||||
```text
|
||||
runtime.toolQueueSlo.heartbeatMs=30000
|
||||
runtime.toolQueueSlo.oldestRunningHeartbeatAgeMs=0 when no running rows
|
||||
runtime.toolQueueSlo.runningWithoutHeartbeatCount=0 during normal operation
|
||||
failures=[] unless heartbeat age exceeds MEMIND_AGENT_RUN_HEARTBEAT_STALE_MS
|
||||
```
|
||||
|
||||
Apply only when the listed running rows are known stale:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user