Repository navigation
v0.0.15
0.0.15 — metric history
Added
- Opt-in metrics recorder — set
MCP_METRICS_HISTORY=trueand the server subscribes to the CPU, memory, and network WebSocket feeds at start and keeps 24 hours of 30-second min/avg/max buckets per topic in memory (2880 slots each; nothing is written to disk; cleared on restart). metrics_history(read-only) —topiccpu | memory | network,window_minutes(default 60, max 1440). Concise output folds the window into at most 24 rows; detailed output returns every point with ISO times; missing buckets are counted as gaps, never interpolated. When recording is off the tool explains exactly how to turn it on.unraid://live/historyresource — the last hour of every recorded topic (or the enable hint).
Internals
- The three metric subscription documents now live in one place (
metric-subscriptions.ts) shared by the live resource and the recorder.
Docs
- README configuration row, resources bullet, tool row (67 tools);
.env.example; decision log D32–D33.
Full Changelog: v0.0.14...v0.0.15