From 8a88e1cf9b5c8643590a6b5960da29ae075e5ba6 Mon Sep 17 00:00:00 2001 From: Heming Han Date: Tue, 30 May 2023 13:11:35 -0700 Subject: [PATCH] Remove telemetry message logging to avoid polluting debug log (#3725) --- agent/stats/engine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/stats/engine.go b/agent/stats/engine.go index 214a2f4af7f..7ca714951c6 100644 --- a/agent/stats/engine.go +++ b/agent/stats/engine.go @@ -480,7 +480,7 @@ func (engine *DockerStatsEngine) publishMetrics(includeServiceConnectStats bool) } select { case engine.metricsChannel <- metricsMessage: - seelog.Debugf("sent telemetry message: %v", metricsMessage) + seelog.Debugf("sent telemetry message") case <-publishMetricsCtx.Done(): seelog.Errorf("timeout sending telemetry message, discarding metrics") } @@ -500,7 +500,7 @@ func (engine *DockerStatsEngine) publishHealth() { } select { case engine.healthChannel <- healthMessage: - seelog.Debugf("sent health message: %v", healthMessage) + seelog.Debugf("sent health message") case <-publishHealthCtx.Done(): seelog.Errorf("timeout sending health message, discarding metrics") }