* Replace `github.com/shirou/gopsutil/v3` to v4
PR #3925 only added the new v4 dependency into our `go.mod` file. The
actual usages in the source code were not updated to use the new v4
version.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* Tidy `go.mod` correctly
One `require` section for direct dependencies; Another `require` section
for indirect dependencies.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
---------
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* Bump api spec version
* Do not panic on cpu monitoring error
* Centralize the socket disconnect logic and fire it also when socket errors occur. Hopefully closes#421
* Add support for ending the inbound stream. Closes#191
* Add a simple success response to API requests
* Add viewers over time API
* Move controllers to admin directory
* Add CPU and RAM usage alerting
* Create basic troubleshooting document to point alerts at
* Limit max number of hardware values collected
* Save metric value with the point in time it was taken