MM-58092 Add feature flag and setting for client performance metrics (#26942)
* MM-58092 Add feature flag and setting for client performance metrics * Fix incorrect field name
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
03c930daa0
Коммит
0a3a55bb80
@@ -55,6 +55,8 @@ type FeatureFlags struct {
|
||||
WebSocketEventScope bool
|
||||
|
||||
NotificationMonitoring bool
|
||||
|
||||
ClientMetrics bool
|
||||
}
|
||||
|
||||
func (f *FeatureFlags) SetDefaults() {
|
||||
@@ -78,6 +80,7 @@ func (f *FeatureFlags) SetDefaults() {
|
||||
f.ChannelBookmarks = false
|
||||
f.WebSocketEventScope = false
|
||||
f.NotificationMonitoring = true
|
||||
f.ClientMetrics = false
|
||||
}
|
||||
|
||||
// ToMap returns the feature flags as a map[string]string
|
||||
|
||||
Ссылка в новой задаче
Block a user