MM-25050: Add gossip encryption to telemetry (#15137)

Этот коммит содержится в:
Agniva De Sarker
2020-07-30 22:18:54 +05:30
коммит произвёл GitHub
родитель b6ac431f2d
Коммит ff2455d05c

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

@@ -587,13 +587,14 @@ func (s *Server) trackConfig() {
}) })
s.SendDiagnostic(TRACK_CONFIG_CLUSTER, map[string]interface{}{ s.SendDiagnostic(TRACK_CONFIG_CLUSTER, map[string]interface{}{
"enable": *cfg.ClusterSettings.Enable, "enable": *cfg.ClusterSettings.Enable,
"network_interface": isDefault(*cfg.ClusterSettings.NetworkInterface, ""), "network_interface": isDefault(*cfg.ClusterSettings.NetworkInterface, ""),
"bind_address": isDefault(*cfg.ClusterSettings.BindAddress, ""), "bind_address": isDefault(*cfg.ClusterSettings.BindAddress, ""),
"advertise_address": isDefault(*cfg.ClusterSettings.AdvertiseAddress, ""), "advertise_address": isDefault(*cfg.ClusterSettings.AdvertiseAddress, ""),
"use_ip_address": *cfg.ClusterSettings.UseIpAddress, "use_ip_address": *cfg.ClusterSettings.UseIpAddress,
"use_experimental_gossip": *cfg.ClusterSettings.UseExperimentalGossip, "use_experimental_gossip": *cfg.ClusterSettings.UseExperimentalGossip,
"read_only_config": *cfg.ClusterSettings.ReadOnlyConfig, "enable_experimental_gossip_encryption": *cfg.ClusterSettings.EnableExperimentalGossipEncryption,
"read_only_config": *cfg.ClusterSettings.ReadOnlyConfig,
}) })
s.SendDiagnostic(TRACK_CONFIG_METRICS, map[string]interface{}{ s.SendDiagnostic(TRACK_CONFIG_METRICS, map[string]interface{}{