Unverified Commit 6aaf27bb authored by Mattermost Build's avatar Mattermost Build Committed by GitHub
Browse files

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

(cherry picked from commit ff2455d0

)
Co-authored-by: default avatarAgniva De Sarker <agnivade@yahoo.co.in>
parent 827aa7e2
......@@ -588,13 +588,14 @@ func (s *Server) trackConfig() {
})
s.SendDiagnostic(TRACK_CONFIG_CLUSTER, map[string]interface{}{
"enable": *cfg.ClusterSettings.Enable,
"network_interface": isDefault(*cfg.ClusterSettings.NetworkInterface, ""),
"bind_address": isDefault(*cfg.ClusterSettings.BindAddress, ""),
"advertise_address": isDefault(*cfg.ClusterSettings.AdvertiseAddress, ""),
"use_ip_address": *cfg.ClusterSettings.UseIpAddress,
"use_experimental_gossip": *cfg.ClusterSettings.UseExperimentalGossip,
"read_only_config": *cfg.ClusterSettings.ReadOnlyConfig,
"enable": *cfg.ClusterSettings.Enable,
"network_interface": isDefault(*cfg.ClusterSettings.NetworkInterface, ""),
"bind_address": isDefault(*cfg.ClusterSettings.BindAddress, ""),
"advertise_address": isDefault(*cfg.ClusterSettings.AdvertiseAddress, ""),
"use_ip_address": *cfg.ClusterSettings.UseIpAddress,
"use_experimental_gossip": *cfg.ClusterSettings.UseExperimentalGossip,
"enable_experimental_gossip_encryption": *cfg.ClusterSettings.EnableExperimentalGossipEncryption,
"read_only_config": *cfg.ClusterSettings.ReadOnlyConfig,
})
s.SendDiagnostic(TRACK_CONFIG_METRICS, map[string]interface{}{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment