No description
Find a file
Manuel Ganter 0af8c28bc2
All checks were successful
ci / build (push) Successful in 28s
fix(aggregator): prevent CPU cores overflow when processes restart
Guard against unsigned integer underflow in cgroup CPU calculation.
When processes exit and new ones start, totalTicks can be less than
the previous value, causing the subtraction to wrap around to a huge
positive number.

Now checks totalTicks >= prev before calculating delta, treating
process churn as 0 CPU usage for that sample.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 15:15:30 +01:00
.github/workflows fix(ci): unset GITHUB_TOKEN via shell before running goreleaser 2026-02-04 14:57:56 +01:00
cmd feat(collector): add HTTP push for metrics to receiver 2026-02-06 11:44:20 +01:00
internal fix(aggregator): prevent CPU cores overflow when processes restart 2026-02-06 15:15:30 +01:00
scripts/hooks feat: add resource collector for Forgejo runners 2026-02-04 14:13:24 +01:00
test test: add stress test with receiver integration 2026-02-06 15:11:22 +01:00
.gitignore feat: add resource collector for Forgejo runners 2026-02-04 14:13:24 +01:00
.goreleaser.yaml chore: remove darwin from build targets 2026-02-04 15:10:07 +01:00
Dockerfile feat(docker): multi-stage build for collector and receiver 2026-02-06 11:54:20 +01:00
go.mod feat(receiver): add HTTP metrics receiver with SQLite storage 2026-02-06 11:40:03 +01:00
go.sum feat(receiver): add HTTP metrics receiver with SQLite storage 2026-02-06 11:40:03 +01:00
identify-process-cgroup-by-pid.md feat(collector): group CPU and memory metrics by cgroup 2026-02-06 14:50:36 +01:00
Makefile feat: add resource collector for Forgejo runners 2026-02-04 14:13:24 +01:00
proc-stat-in-containers.md feat(collector): group CPU and memory metrics by cgroup 2026-02-06 14:50:36 +01:00