forgejo-runner-optimiser/internal
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
..
cgroup feat(collector): group CPU and memory metrics by cgroup 2026-02-06 14:50:36 +01:00
collector feat(collector): add HTTP push for metrics to receiver 2026-02-06 11:44:20 +01:00
integration test: add integration tests for collector-receiver interaction 2026-02-06 12:12:36 +01:00
metrics fix(aggregator): prevent CPU cores overflow when processes restart 2026-02-06 15:15:30 +01:00
output feat(collector): group CPU and memory metrics by cgroup 2026-02-06 14:50:36 +01:00
proc feat(collector): group CPU and memory metrics by cgroup 2026-02-06 14:50:36 +01:00
receiver refactor(receiver): change query endpoint to filter by workflow and job 2026-02-06 12:00:22 +01:00
summary feat(summary): add per-container metrics with extended percentiles 2026-02-06 15:01:01 +01:00