Simple hardware metrics collection + alerting (#115)

* 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
This commit is contained in:
Gabe Kangas
2020-08-27 00:37:32 -07:00
committed by GitHub
parent e791a3c1dc
commit 4c3da2704f
7 changed files with 137 additions and 15 deletions

4
go.mod
View File

@@ -3,13 +3,15 @@ module github.com/gabek/owncast
go 1.14
require (
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
github.com/aws/aws-sdk-go v1.34.0
github.com/kr/pretty v0.2.0 // indirect
github.com/go-ole/go-ole v1.2.4 // indirect
github.com/mattn/go-sqlite3 v1.14.0
github.com/mssola/user_agent v0.5.2
github.com/nareix/joy5 v0.0.0-20200712071056-a55089207c88
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/radovskyb/watcher v1.0.7
github.com/shirou/gopsutil v2.20.7+incompatible
github.com/sirupsen/logrus v1.6.0
github.com/teris-io/shortid v0.0.0-20171029131806-771a37caa5cf
golang.org/x/net v0.0.0-20200707034311-ab3426394381