mediamtx/internal/servers/srt
Spencer Lowe e5e029a7f4
srt: add additional metrics (#2962)
* first attempt at the srt metrics

* Updated variables to better match mediamtx

* Prometheus metrics for SRT

* Update readme for SRT metrics

* Switch openapi to number from float

* SRT metrics metrics response fix

* Make the metric test less strict, and nolint line length on the SRT metrics struct

* remove nolint

* move BytesSent and BytesReceived into APISRTConnMetrics

* merge APISRTConn and APISRTConnMetrics

* improve tests

---------

Co-authored-by: slowe <slowe@clairglobal.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-02-16 14:22:30 +01:00
..
conn.go srt: add additional metrics (#2962) 2024-02-16 14:22:30 +01:00
listener.go move servers into internal/servers (#2792) 2023-12-08 19:17:17 +01:00
server.go api: return 404 when an entity is not found (#2582) (#2920) 2024-01-18 23:28:56 +01:00
streamid.go srt: support standard streamID syntax (#2469) (#2919) 2024-01-18 23:23:51 +01:00
streamid_test.go srt: support standard streamID syntax (#2469) (#2919) 2024-01-18 23:23:51 +01:00