Track participant join total + rate in node stats (#741)

* Track participant join total + rate in node stats

* update protocol
This commit is contained in:
Raja Subramanian
2022-05-30 15:58:30 +05:30
committed by GitHub
parent 62308b2ce0
commit 508aa471a9
5 changed files with 34 additions and 11 deletions
@@ -52,6 +52,8 @@ func (t *telemetryServiceInternal) ParticipantJoined(
clientInfo *livekit.ClientInfo,
clientMeta *livekit.AnalyticsClientMeta,
) {
prometheus.IncrementParticipantJoin(1)
newWorker := newStatsWorker(
ctx,
t,