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

View File

@ -9,6 +9,7 @@ import (
"github.com/gabek/owncast/config"
"github.com/gabek/owncast/core"
"github.com/gabek/owncast/metrics"
"github.com/gabek/owncast/router"
)
@ -55,6 +56,8 @@ func main() {
config.Config.ChatDatabaseFilePath = "chat.db"
}
metrics.Start()
// starts the core
if err := core.Start(); err != nil {
log.Error("failed to start the core package")