Include websocket users metric (#14020)
This commit adds new metrics to know the number of registered users we have in every WebSocket broadcasts hub
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
cd382412fd
Коммит
ee86413cdd
@@ -26,6 +26,11 @@ func (_m *MetricsInterface) DecrementWebSocketBroadcastBufferSize(hub string, am
|
||||
_m.Called(hub, amount)
|
||||
}
|
||||
|
||||
// DecrementWebSocketBroadcastUsersRegistered provides a mock function with given fields: hub, amount
|
||||
func (_m *MetricsInterface) DecrementWebSocketBroadcastUsersRegistered(hub string, amount float64) {
|
||||
_m.Called(hub, amount)
|
||||
}
|
||||
|
||||
// IncrementChannelIndexCounter provides a mock function with given fields:
|
||||
func (_m *MetricsInterface) IncrementChannelIndexCounter() {
|
||||
_m.Called()
|
||||
@@ -151,6 +156,11 @@ func (_m *MetricsInterface) IncrementWebSocketBroadcastBufferSize(hub string, am
|
||||
_m.Called(hub, amount)
|
||||
}
|
||||
|
||||
// IncrementWebSocketBroadcastUsersRegistered provides a mock function with given fields: hub, amount
|
||||
func (_m *MetricsInterface) IncrementWebSocketBroadcastUsersRegistered(hub string, amount float64) {
|
||||
_m.Called(hub, amount)
|
||||
}
|
||||
|
||||
// IncrementWebhookPost provides a mock function with given fields:
|
||||
func (_m *MetricsInterface) IncrementWebhookPost() {
|
||||
_m.Called()
|
||||
|
||||
Ссылка в новой задаче
Block a user