Record join/publish/subscribe cancellations. (#4102)
To get better picture of success/failure rate.
This commit is contained in:
@@ -338,6 +338,7 @@ func (r *RoomManager) StartSession(
|
||||
Leave: leave,
|
||||
},
|
||||
})
|
||||
prometheus.IncrementParticipantRtcCanceled(1)
|
||||
return errors.New("could not restart closed participant")
|
||||
}
|
||||
|
||||
@@ -395,6 +396,7 @@ func (r *RoomManager) StartSession(
|
||||
Leave: leave,
|
||||
},
|
||||
})
|
||||
prometheus.IncrementParticipantRtcCanceled(1)
|
||||
return errors.New("could not restart participant")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user