Send quality stats to prometheus. (#1708)

This commit is contained in:
Raja Subramanian
2023-05-12 09:44:03 +05:30
committed by GitHub
parent 4244542840
commit a085afc6ee
3 changed files with 94 additions and 1 deletions
+1
View File
@@ -96,6 +96,7 @@ func Init(nodeID string, nodeType livekit.NodeType, env string) {
initPacketStats(nodeID, nodeType, env)
initRoomStats(nodeID, nodeType, env)
initPSRPCStats(nodeID, nodeType, env)
initQualityStats(nodeID, nodeType, env)
}
func GetUpdatedNodeStats(prev *livekit.NodeStats, prevAverage *livekit.NodeStats) (*livekit.NodeStats, bool, error) {