This commit adds new metrics to know the number of registered users
we have in every WebSocket broadcasts hub
Этот коммит содержится в:
Mario de Frutos Dieguez
2020-03-10 10:15:56 +01:00
коммит произвёл GitHub
родитель cd382412fd
Коммит ee86413cdd
3 изменённых файлов: 18 добавлений и 0 удалений

Просмотреть файл

@@ -39,6 +39,8 @@ type MetricsInterface interface {
IncrementWebSocketBroadcast(eventType string)
IncrementWebSocketBroadcastBufferSize(hub string, amount float64)
DecrementWebSocketBroadcastBufferSize(hub string, amount float64)
IncrementWebSocketBroadcastUsersRegistered(hub string, amount float64)
DecrementWebSocketBroadcastUsersRegistered(hub string, amount float64)
AddMemCacheHitCounter(cacheName string, amount float64)
AddMemCacheMissCounter(cacheName string, amount float64)