Send room name along in stat message (#205)
Signed-off-by: shishir gowda <shishir@livekit.io>
This commit is contained in:
@@ -45,7 +45,7 @@ func (t *TelemetryService) RoomEnded(ctx context.Context, room *livekit.Room) {
|
||||
|
||||
func (t *TelemetryService) ParticipantJoined(ctx context.Context, room *livekit.Room, participant *livekit.ParticipantInfo) {
|
||||
t.Lock()
|
||||
t.workers[participant.Sid] = NewStatsWorker(t, room.Sid, participant.Sid)
|
||||
t.workers[participant.Sid] = NewStatsWorker(t, room.Sid, participant.Sid, room.Name)
|
||||
t.Unlock()
|
||||
|
||||
prometheus.AddParticipant()
|
||||
|
||||
Reference in New Issue
Block a user