Commit Graph

7 Commits

Author SHA1 Message Date
David Colburn
7bba17ea78 remove ps, remove noisy error logs (#540) 2023-12-06 09:46:12 -08:00
David Colburn
4bd1ed6a02 process monitoring (#529)
* process monitoring

* generated protobuf

* don't need min

* updates

* fix float

* update names, cpu calculation

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-05 10:46:13 -08:00
David Zhao
c9e9ae555f Add license headers & NOTICE (#429)
* Add license headers & NOTICE

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-27 16:43:25 -07:00
David Colburn
cda2a8ac91 Use floats for cpu (#410)
* use floats for cpu

* change CPUStats.NumCPU

* missed a return
2023-06-29 18:29:18 -07:00
renovate[bot]
073251b64a fix(deps): update go deps (#302)
* fix(deps): update go deps

Generated by renovateBot

* go-throttle -> core

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Colburn <xero73@gmail.com>
2023-02-27 16:01:08 -08:00
Benjamin Pracht
b1eab0ff38 Fallback to osstat if a matching cgroup implementation cannot be found, and fix core count computation (#249)
This should fix WSL2 support.
2022-11-11 11:21:45 -08:00
Benjamin Pracht
9b09be77ef Cgroup aware idle CPU computation (#229)
On linux, this will report the amount of idle CPU relative to the cgroup defined quota. On other OSs, the idle cpu for the whole host is reported
2022-10-17 15:12:12 -07:00