store cpu load in node stats (#524)

* store cpu load in node stats

* num cpus uint32

* cpu load selector test

* dep update
This commit is contained in:
Mathew Kamkar
2022-03-16 14:51:22 -07:00
committed by GitHub
parent 33f9726b79
commit cac6d22a72
11 changed files with 146 additions and 27 deletions
+2 -2
View File
@@ -4,7 +4,6 @@ go 1.17
require (
github.com/bep/debounce v1.2.0
github.com/c9s/goprocinfo v0.0.0-20210130143923-c95fcf8c64a8
github.com/elliotchance/orderedmap v1.4.0
github.com/gammazero/deque v0.1.0
github.com/gammazero/workerpool v1.1.2
@@ -14,7 +13,8 @@ require (
github.com/google/wire v0.5.0
github.com/gorilla/websocket v1.4.2
github.com/hashicorp/golang-lru v0.5.4
github.com/livekit/protocol v0.11.14-0.20220316120321-6f2a49e44914
github.com/livekit/protocol v0.11.14-0.20220316214650-51f5188bc422
github.com/mackerelio/go-osstat v0.2.1
github.com/magefile/mage v1.11.0
github.com/maxbrunsfeld/counterfeiter/v6 v6.3.0
github.com/mitchellh/go-homedir v1.1.0