mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-25 04:22:00 -08:00
fix metrics
This commit is contained in:
parent
f6e846ca45
commit
11bb1ef44e
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ func (m *metrics) onMetrics(w http.ResponseWriter, req *http.Request) {
|
|||
out += fmt.Sprintf("rtsp_clients{state=\"reading\"} %d %v\n",
|
||||
countReaders, now)
|
||||
out += fmt.Sprintf("rtsp_proxies{state=\"idle\"} %d %v\n",
|
||||
countProxies, now)
|
||||
countProxies-countProxiesRunning, now)
|
||||
out += fmt.Sprintf("rtsp_proxies{state=\"running\"} %d %v\n",
|
||||
countProxiesRunning, now)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue