From ff2455d05cac25926281bf29986832a6f004fda4 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Thu, 30 Jul 2020 22:18:54 +0530 Subject: [PATCH] MM-25050: Add gossip encryption to telemetry (#15137) --- app/diagnostics.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/app/diagnostics.go b/app/diagnostics.go index fca62435c0..50eb750806 100644 --- a/app/diagnostics.go +++ b/app/diagnostics.go @@ -587,13 +587,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{}{