mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-04 01:09:27 +02:00
cleanup.
This commit is contained in:
parent
8f83089c8e
commit
bf47e5a8d0
3 changed files with 2 additions and 60 deletions
|
@ -248,10 +248,10 @@ func (m *metricsCtx) SetVideoID(session types.Session, videoId string) {
|
|||
|
||||
if _, found := met.videoIds[videoId]; !found {
|
||||
met.videoIds[videoId] = promauto.NewGauge(prometheus.GaugeOpts{
|
||||
Name: "video_id",
|
||||
Name: "video_listeners",
|
||||
Namespace: "neko",
|
||||
Subsystem: "webrtc",
|
||||
Help: "Current Video ID of a session.",
|
||||
Help: "Listeners for Video pipelines by a session.",
|
||||
ConstLabels: map[string]string{
|
||||
"session_id": session.ID(),
|
||||
"video_id": videoId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue