Added Websocket's broadcast queue load metrics (#13935)
Now we send metrics when the websocket's broadcast queue receive or consume a message from the queue
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b07898b8a2
Коммит
75197d291a
@@ -37,6 +37,8 @@ type MetricsInterface interface {
|
||||
|
||||
IncrementWebsocketEvent(eventType string)
|
||||
IncrementWebSocketBroadcast(eventType string)
|
||||
IncrementWebSocketBroadcastBufferSize(hub string, amount float64)
|
||||
DecrementWebSocketBroadcastBufferSize(hub string, amount float64)
|
||||
|
||||
AddMemCacheHitCounter(cacheName string, amount float64)
|
||||
AddMemCacheMissCounter(cacheName string, amount float64)
|
||||
|
||||
Ссылка в новой задаче
Block a user