Delta stats throughout (#615)

* Use delta stats throughout and avoid calculating deltas in telemetry

* Fix a few things after testing

* Remove debug

* Fix tests

* delete instead of setting to nil

* Point to the latest protocol
This commit is contained in:
Raja Subramanian
2022-04-16 21:11:32 +05:30
committed by GitHub
parent 7a3e446a65
commit a98d955284
15 changed files with 506 additions and 581 deletions
@@ -173,7 +173,6 @@ func (t *telemetryServiceInternal) TrackUnpublished(ctx context.Context, partici
if w != nil {
roomID = w.roomID
roomName = w.roomName
w.RemoveStats(livekit.TrackID(track.GetSid()))
}
prometheus.SubPublishedTrack(track.Type.String())