This commit is contained in:
Miroslav Šedivý
2022-07-04 18:23:35 +02:00
parent 8f83089c8e
commit bf47e5a8d0
3 changed files with 2 additions and 60 deletions

View File

@ -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,