Files
ai-agent/backend/perf/__init__.py
gabrielvidalandClaude Opus 5.5 3a3bdf0363 feat(perf): record agent CPU + memory, serve the Performance dashboard API
perf/ polls every runner's /procs (lab 5 s, online workers 15 s) into its own
perf.db: 5-s samples (48 h), 1-min rollups (30 d), per-run totals and
per-process rows (Bash-tool commands kept forever). /api/perf/{live,history,
conversations,commands,conversation/{sid}} read it; /api/perf/kill and the
auto-kill stop leftovers of ended conversations (24 h after first seen, never
kept ones or keepLabels like opencode serve); /api/perf/settings. Owner only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 22:52:44 +01:00

0 lines
0 B
Python