Commit graph

4 commits

Author SHA1 Message Date
57fa1008ee add canonical permacomputer preamble to all source files 2026-02-25 17:40:21 -05:00
3f73bf6203 fix: skip null rows when parsing pool metrics CSV 2026-01-23 15:28:20 -05:00
47db8c101a feat: add per-pool metrics tracking (ai vs cammy)
Now collects separate time series for each pool:
- ai-foxhop-net: load1/5/15, available, total
- cammy-foxhop-net: load1/5/15, available, total

Saves to raw-pools.csv and includes per-pool stats in pool-metrics.json
2026-01-23 09:26:15 -05:00
2add5f5eee feat: add pool metrics collector for CPU, memory, and latency
Collects from /cluster and /pools endpoints during test runs:
- Load average (1m, 5m, 15m)
- Memory (used_gb, available_gb, used_percent)
- Container availability (available, allocated, spawning)
- API latency (ms)
- Per-pool breakdown

Usage:
  scripts/collect-pool-metrics.sh start   # Start background collector
  scripts/collect-pool-metrics.sh stop    # Stop collector
  scripts/collect-pool-metrics.sh report  # Generate JSON report
  scripts/collect-pool-metrics.sh snapshot # One-shot current state
2026-01-23 06:35:39 -05:00