add prometheus psrpc metrics observer (#1571)
* add prometheus psrpc metrics observer * record rpc error counts * update psrpc * update protocol
This commit is contained in:
@@ -95,6 +95,7 @@ func Init(nodeID string, nodeType livekit.NodeType, env string) {
|
||||
|
||||
initPacketStats(nodeID, nodeType, env)
|
||||
initRoomStats(nodeID, nodeType, env)
|
||||
initPSRPCStats(nodeID, nodeType, env)
|
||||
}
|
||||
|
||||
func GetUpdatedNodeStats(prev *livekit.NodeStats, prevAverage *livekit.NodeStats) (*livekit.NodeStats, bool, error) {
|
||||
|
||||
Reference in New Issue
Block a user