forgejo-runner-resource-col.../scripts/hooks
Manuel Ganter 219d26959f
feat: add resource collector for Forgejo runners
Add Go application that collects CPU and RAM metrics from /proc filesystem:
- Parse /proc/[pid]/stat for CPU usage (user/system time)
- Parse /proc/[pid]/status for memory usage (RSS, VmSize, etc.)
- Aggregate metrics across all processes
- Output via structured logging (JSON/text)
- Continuous collection with configurable interval

Designed for monitoring pipeline runner resource utilization to enable
dynamic runner sizing.
2026-02-04 14:13:24 +01:00
..
commit-msg feat: add resource collector for Forgejo runners 2026-02-04 14:13:24 +01:00
pre-commit feat: add resource collector for Forgejo runners 2026-02-04 14:13:24 +01:00