Commit graph

9 commits

Author SHA1 Message Date
Gabe Kangas
f946b73f16
Fix CPU usage collection panic with default zero value. Closes #2423 2022-12-09 09:49:17 -08:00
Gabe Kangas
410b413b84
Add stream health overview collection + apis 2022-03-24 23:07:05 -07:00
Gabe Kangas
babbcecc9c
Stream performance metrics (#1785)
* WIP playback metrics

* Playback metrics collecting + APIs. Closes #793

* Cleanup console messages

* Update test

* Increase browser test timeout

* Update browser tests to not fail
2022-03-16 17:34:44 -07:00
Gabe Kangas
d6aa8b5d7c
Bump gopsutil to v3 2022-03-07 08:45:49 -08:00
Gabe Kangas
92041c4c23
Add Prometheus for some Owncast metrics (#1744)
* Add Prometheus for some Owncast metrics. Closes #1303

* Wrap prometheus metrics endpoint in admin middleware
2022-03-06 17:26:52 -08:00
Gabe Kangas
e558c549d7
Websocket fixes (#461)
* 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
2020-12-21 19:42:47 -08:00
Gabe Kangas
e042c85f88
Hardware status admin api (#218)
* Add metrics for disk usage

* Add admin API for hardware metrics

* Fix error message alert
2020-10-02 12:18:08 -07:00
Gabe Kangas
236f25b772
Viewer metrics api (#208)
* 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
2020-10-02 00:06:14 -07:00
Gabe Kangas
4c3da2704f
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
2020-08-27 00:37:32 -07:00